From b5184347b697cf68b6c04cb2c95ff6c47e41cb5a Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Thu, 23 Feb 2012 18:19:32 +0000 Subject: [PATCH] Missed dm_free in last commit --- libdm/libdm-string.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libdm/libdm-string.c b/libdm/libdm-string.c index 42efcf717..4468555cd 100644 --- a/libdm/libdm-string.c +++ b/libdm/libdm-string.c @@ -161,6 +161,7 @@ int dm_asprintf(char **result, const char *format, ...) dm_free(buf); return -1; } + dm_free(buf); } else *result = buf;