projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
strings: don't free, just realloc
[babeltrace.git]
/
types
/
enum.c
diff --git
a/types/enum.c
b/types/enum.c
index 4c2d2b7795013237a633c3333a176d553f2f93f6..368c21a6910187dc8d6e9ce45dd80fc547b2757a 100644
(file)
--- a/
types/enum.c
+++ b/
types/enum.c
@@
-371,7
+371,8
@@
void enum_copy(struct stream_pos *dest, const struct format *fdest,
* now to test enum read and write code.
*/
v = g_array_index(array, GQuark, 0);
- return fdest->enum_write(dest, enum_declaration, v);
+ if (fdest)
+ fdest->enum_write(dest, enum_declaration, v);
}
static
This page took
0.023008 seconds
and
4
git commands to generate.