Start packet mmap work
[babeltrace.git] / types / float.c
index 576f8622567c75af82bf3acfd91d8c9f321fe438..3b2523e24f5c6fee571c367852b04667a9f8d88a 100644 (file)
@@ -42,7 +42,8 @@ void float_copy(struct stream_pos *destp,
                double v;
 
                v = fsrc->double_read(srcp, float_declaration);
-               fdest->double_write(destp, float_declaration, v);
+               if (fdest)
+                       fdest->double_write(destp, float_declaration, v);
        }
 }
 
This page took 0.022414 seconds and 4 git commands to generate.