projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: free all the metadata-related memory
[babeltrace.git]
/
types
/
struct.c
diff --git
a/types/struct.c
b/types/struct.c
index f360407c46f3ed956285689ae3847c9b5d01625a..22689c1cc4130f46053ccd701024c3b1d19eeb1c 100644
(file)
--- a/
types/struct.c
+++ b/
types/struct.c
@@
-169,6
+169,7
@@
void _struct_definition_free(struct definition *definition)
}
free_definition_scope(_struct->p.scope);
declaration_unref(_struct->p.declaration);
+ g_ptr_array_free(_struct->fields, TRUE);
g_free(_struct);
}
This page took
0.02453 seconds
and
4
git commands to generate.