From: Konrad Rzeszutek Date: Wed, 17 Dec 2008 22:20:44 +0000 (+0100) Subject: [lib] Need to use FREE macro instead of free. X-Git-Tag: 0.4.9~155 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e36394aba6331ccadb8b9f56d1d2532e68288164;p=platform%2Fupstream%2Fmultipath-tools.git [lib] Need to use FREE macro instead of free. When using the internal memory leak checker it is imperative that all free use the FREE macro. Otherwise accounting errors show up. --- diff --git a/libmultipath/devmapper.c b/libmultipath/devmapper.c index a021e44..bcbeb28 100644 --- 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);