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
/
python-plugin-provider
/
python-plugin-provider.c
diff --git
a/src/python-plugin-provider/python-plugin-provider.c
b/src/python-plugin-provider/python-plugin-provider.c
index 145d2200527f4f11ad689633e29b7842a36d6adc..5bdcbfcd78c035ec4bbbd0a4249d8b7c077d1efb 100644
(file)
--- a/
src/python-plugin-provider/python-plugin-provider.c
+++ b/
src/python-plugin-provider/python-plugin-provider.c
@@
-758,9
+758,7
@@
end:
bt_plugin_put_ref(plugin);
Py_XDECREF(py_plugin_info);
- if (basename) {
- g_free(basename);
- }
+ g_free(basename);
return status;
}
This page took
0.023067 seconds
and
4
git commands to generate.