projects
/
lttngtop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
415f00b
)
fix: unchecked pointer before strcmp
author
Julien Desfossez
<jdesfossez@efficios.com>
Mon, 24 Feb 2014 21:34:09 +0000
(16:34 -0500)
committer
Julien Desfossez
<jdesfossez@efficios.com>
Mon, 24 Feb 2014 21:34:09 +0000
(16:34 -0500)
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
src/iostreamtop.c
patch
|
blob
|
blame
|
history
diff --git
a/src/iostreamtop.c
b/src/iostreamtop.c
index e0df4ba2292e6f6f3c1b0dceddc16ba496c4f3ef..e4da1dd408e0be30c3af2c5f825cf7f27259731e 100644
(file)
--- a/
src/iostreamtop.c
+++ b/
src/iostreamtop.c
@@
-124,7
+124,7
@@
void insert_file(struct processtop *proc, int fd)
if (parent) {
tmp_parent = g_ptr_array_index(
parent->process_files_table, fd);
- if (tmp_parent && tmp->name &&
+ if (tmp_parent && tmp->name &&
tmp_parent->name &&
(strcmp(tmp->name, tmp_parent->name)) != 0)
tmp->name = strdup(tmp_parent->name);
}
This page took
0.024857 seconds
and
4
git commands to generate.