mirror of
https://github.com/samba-team/samba.git
synced 2025-01-14 19:24:43 +03:00
70dfb51430
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>
This directory contains libutil (until we can think of a better name) The idea is that this library contains simple but useful data structures and support functions that are generally useful; not just for Samba but for other projects as well. Functions here should not depend on any external libraries, just on libc (perhaps partially provided by libreplace).