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 free(): free() accepts `NULL`
[babeltrace.git]
/
src
/
common
/
common.c
diff --git
a/src/common/common.c
b/src/common/common.c
index beedec66919b917b5696168cd39dc7632f12472b..d092768a147cf9a18bcabd001229d5966ff5fdfa 100644
(file)
--- a/
src/common/common.c
+++ b/
src/common/common.c
@@
-1115,9
+1115,7
@@
error:
norm_path = NULL;
}
end:
- if (tmp) {
- free(tmp);
- }
+ free(tmp);
return norm_path;
}
#else
This page took
0.02492 seconds
and
4
git commands to generate.