projects
/
multipath-tools
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd3af03
)
Double free in disassemble_map()
author
Hannes Reinecke
<hare@suse.de>
Tue, 8 Jan 2013 13:53:59 +0000
(14:53 +0100)
committer
Christophe Varoqui
<christophe.varoqui@opensvc.com>
Tue, 8 Jan 2013 23:10:56 +0000
(
00:10
+0100)
Label 'out1' already frees 'word'; no need to do it here.
Signed-off-by: Hannes Reinecke <hare@suse.de>
libmultipath/dmparser.c
patch
|
blob
|
history
diff --git
a/libmultipath/dmparser.c
b/libmultipath/dmparser.c
index
a45854d
..
5184c41
100644
(file)
--- a/
libmultipath/dmparser.c
+++ b/
libmultipath/dmparser.c
@@
-276,7
+276,6
@@
disassemble_map (vector pathvec, char * params, struct multipath * mpp)
num_pg_args = atoi(word);
if (merge_words(&mpp->selector, word, 1)) {
- FREE(word);
goto out1;
}
FREE(word);