From 79f33674c660f2ebbf75843b06049f036eceeeca Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 2 May 2009 12:40:29 +0200 Subject: [PATCH] Fix a malloc/talloc mixup --- source3/lib/charcnv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/lib/charcnv.c b/source3/lib/charcnv.c index b94566863c5..1f2fa63f3e9 100644 --- a/source3/lib/charcnv.c +++ b/source3/lib/charcnv.c @@ -759,7 +759,7 @@ size_t unix_strupper(const char *src, size_t srclen, char *dest, size_t destlen) } if (!strupper_w(buffer) && (dest == src)) { - free(buffer); + TALLOC_FREE(buffer); return srclen; } -- 2.11.4.GIT