projects
/
babeltrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c2baa6
)
Fix: common.c: logically dead code
author
Philippe Proulx
<eeppeliteloop@gmail.com>
Fri, 9 Aug 2019 19:04:48 +0000
(15:04 -0400)
committer
Philippe Proulx
<eeppeliteloop@gmail.com>
Fri, 9 Aug 2019 19:28:34 +0000
(15:28 -0400)
Found by Coverity Scan.
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: Ib870cf62d6028bb26259d448e5dbee59dacb9759
src/common/common.c
patch
|
blob
|
blame
|
history
diff --git
a/src/common/common.c
b/src/common/common.c
index dacb5054fa04280e04a0f44b0bc7af2a1bb7eb20..404357a38beed46ebf55e086c17542c14cdf3e3a 100644
(file)
--- a/
src/common/common.c
+++ b/
src/common/common.c
@@
-1780,9
+1780,7
@@
end:
g_strfreev(lines);
}
- if (line_words) {
- g_strfreev(line_words);
- }
+ BT_ASSERT(!line_words);
if (tmp_line) {
g_string_free(tmp_line, TRUE);
This page took
0.025167 seconds
and
4
git commands to generate.