projects
/
platform
/
upstream
/
multipath-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0d98bc
)
[lib] Need to use FREE macro instead of free.
author
Konrad Rzeszutek
<konrad@virtualiron.com>
Wed, 17 Dec 2008 22:20:44 +0000
(23:20 +0100)
committer
Christophe Varoqui
<christophe.varoqui@free.fr>
Wed, 17 Dec 2008 22:20:44 +0000
(23:20 +0100)
When using the internal memory leak checker it is imperative that
all free use the FREE macro. Otherwise accounting errors show up.
libmultipath/devmapper.c
patch
|
blob
|
history
diff --git
a/libmultipath/devmapper.c
b/libmultipath/devmapper.c
index
a021e44
..
bcbeb28
100644
(file)
--- a/
libmultipath/devmapper.c
+++ b/
libmultipath/devmapper.c
@@
-211,7
+211,7
@@
dm_addmap (int task, const char *name, const char *target,
freeout:
if (prefixed_uuid)
-
free
(prefixed_uuid);
+
FREE
(prefixed_uuid);
addout:
dm_task_destroy (dmt);