projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix source component memory leak
[babeltrace.git]
/
plugins
/
ctf
/
fs
/
fs.c
diff --git
a/plugins/ctf/fs/fs.c
b/plugins/ctf/fs/fs.c
index cf00fddd9986c2aa288d0b2e222d0d65342f3a1b..b80e4e152095c4e3ed19a0abf80b72dc2fe3974b 100644
(file)
--- a/
plugins/ctf/fs/fs.c
+++ b/
plugins/ctf/fs/fs.c
@@
-57,6
+57,7
@@
struct bt_notification *ctf_fs_iterator_get(
notification = bt_get(ctf_fs->current_notification);
end:
+ BT_PUT(component);
return notification;
}
@@
-86,6
+87,7
@@
enum bt_notification_iterator_status ctf_fs_iterator_next(
bt_put(ctf_fs->current_notification);
ctf_fs->current_notification = notification;
end:
+ BT_PUT(component);
return ret;
}
This page took
0.023983 seconds
and
4
git commands to generate.