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
/
text
/
details
/
obj-lifetime-mgmt.c
diff --git
a/src/plugins/text/details/obj-lifetime-mgmt.c
b/src/plugins/text/details/obj-lifetime-mgmt.c
index 182c8b66ad3b03eafbf16973f6d8a0a139c65c3d..9547d609cb08884095acb462415788518e7d7479 100644
(file)
--- a/
src/plugins/text/details/obj-lifetime-mgmt.c
+++ b/
src/plugins/text/details/obj-lifetime-mgmt.c
@@
-232,9
+232,7
@@
error:
ret = -1;
end:
- if (details_trace) {
- g_free(details_trace);
- }
+ g_free(details_trace);
return ret;
}
This page took
0.023245 seconds
and
4
git commands to generate.