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
/
fs.c
diff --git
a/src/plugins/ctf/fs-src/fs.c
b/src/plugins/ctf/fs-src/fs.c
index fb5fa1c545f92accd8c1e0c422bacc178107043b..0d9e884207c0e5b34dce86888b2d8665edadf25e 100644
(file)
--- a/
src/plugins/ctf/fs-src/fs.c
+++ b/
src/plugins/ctf/fs-src/fs.c
@@
-496,9
+496,7
@@
error:
ret = -1;
end:
- if (port_name) {
- g_free(port_name);
- }
+ g_free(port_name);
port_data_destroy(port_data);
return ret;
This page took
0.023238 seconds
and
4
git commands to generate.