diff options
author | Volker Lendecke <vl@samba.org> | 2009-05-02 12:40:29 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-05-02 12:44:31 +0200 |
commit | 79f33674c660f2ebbf75843b06049f036eceeeca (patch) | |
tree | d9b866afcde7d51b8eb8a9ed7af231921966a248 /source3/lib | |
parent | aebb1b8d7c1faef0ee36d9989d2c76607c8c5dd5 (diff) | |
download | samba-79f33674c660f2ebbf75843b06049f036eceeeca.tar.gz samba-79f33674c660f2ebbf75843b06049f036eceeeca.tar.bz2 samba-79f33674c660f2ebbf75843b06049f036eceeeca.zip |
Fix a malloc/talloc mixup
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/charcnv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/charcnv.c b/source3/lib/charcnv.c index b94566863c..1f2fa63f3e 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; } |