projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib: trace IR, values: reset pointers to `NULL` on destruction
[babeltrace.git]
/
lib
/
trace-ir
/
field-path.c
diff --git
a/lib/trace-ir/field-path.c
b/lib/trace-ir/field-path.c
index 613974e699802c84c638d301fd00db167ba7863d..48a03a86b5ec82472a1bf18a75f55a4738c1b75d 100644
(file)
--- a/
lib/trace-ir/field-path.c
+++ b/
lib/trace-ir/field-path.c
@@
-44,6
+44,7
@@
void destroy_field_path(struct bt_object *obj)
BT_ASSERT(field_path);
BT_LIB_LOGD("Destroying field path: %!+P", field_path);
g_array_free(field_path->indexes, TRUE);
+ field_path->indexes = NULL;
g_free(field_path);
}
This page took
0.022683 seconds
and
4
git commands to generate.