[lib] Need to use FREE macro instead of free.
authorKonrad Rzeszutek <konrad@virtualiron.com>
Wed, 17 Dec 2008 22:20:44 +0000 (23:20 +0100)
committerChristophe 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

index a021e44..bcbeb28 100644 (file)
@@ -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);