projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not check `NULL` to call g_free(): g_free() accepts `NULL`
[babeltrace.git]
/
src
/
plugins
/
ctf
/
fs-src
/
query.c
diff --git
a/src/plugins/ctf/fs-src/query.c
b/src/plugins/ctf/fs-src/query.c
index 1ba84b4a8393200f566cf70b79f92b28722c0da2..b9811b1990a82af700576afe13754e6fb55ac795 100644
(file)
--- a/
src/plugins/ctf/fs-src/query.c
+++ b/
src/plugins/ctf/fs-src/query.c
@@
-357,9
+357,7
@@
int populate_stream_info(struct ctf_fs_ds_file_group *group,
}
end:
}
end:
- if (port_name) {
- g_free(port_name);
- }
+ g_free(port_name);
bt_value_put_ref(file_paths);
return ret;
}
bt_value_put_ref(file_paths);
return ret;
}
This page took
0.024317 seconds
and
4
git commands to generate.