diff options
author | Volker Lendecke <vl@samba.org> | 2013-12-06 10:31:07 +0000 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2013-12-14 10:06:28 +0100 |
commit | 70dfb51430bc3b6e436fb5c5452d7ef8612ca02f (patch) | |
tree | d6602a2bdb8f4ff61e13665c586bec2490e71e59 /source3/lib/system.c | |
parent | a9753c180fbd06764987367fe3115159cdef4330 (diff) | |
download | samba-70dfb51430bc3b6e436fb5c5452d7ef8612ca02f.tar.gz samba-70dfb51430bc3b6e436fb5c5452d7ef8612ca02f.tar.xz samba-70dfb51430bc3b6e436fb5c5452d7ef8612ca02f.zip |
iconv: Use a static buffer in iconf not to spoil the talloc_pool
This is a buffer that is strictly used like a stack variable. This
patch makes it one and while there it fixes an error path memleak.
In the "pull_failed" case we did not talloc_free(cvtbuf). With
talloc_tos(), this does not really matter, but for code without
this it does.
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/lib/system.c')
0 files changed, 0 insertions, 0 deletions