projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: add missing NULL check in ctf_fs_destroy_data
[babeltrace.git]
/
plugins
/
ctf
/
fs
/
fs.c
diff --git
a/plugins/ctf/fs/fs.c
b/plugins/ctf/fs/fs.c
index 61cac172fd2c4efce1c67f5008ea9bd87f84721b..321a45a5eac9bb8dd97616fdb4bc080a00bb8220 100644
(file)
--- a/
plugins/ctf/fs/fs.c
+++ b/
plugins/ctf/fs/fs.c
@@
-638,6
+638,9
@@
error:
static
void ctf_fs_destroy_data(struct ctf_fs_component *ctf_fs)
{
+ if (!ctf_fs) {
+ return;
+ }
if (ctf_fs->trace_path) {
g_string_free(ctf_fs->trace_path, TRUE);
}
This page took
0.024403 seconds
and
4
git commands to generate.