diff options
author | Volker Lendecke <vl@samba.org> | 2009-01-25 20:33:22 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-01-25 20:52:42 +0100 |
commit | 6baf760d176cc5ea8eb0cba6d68171f1950c1b75 (patch) | |
tree | 2d43c8d9df29f71f69fc91c50ff253975b733a0f /source3 | |
parent | 28b7c44de846930e5f7c9aae3a7a423368c03ae1 (diff) | |
download | samba-6baf760d176cc5ea8eb0cba6d68171f1950c1b75.tar.gz samba-6baf760d176cc5ea8eb0cba6d68171f1950c1b75.tar.bz2 samba-6baf760d176cc5ea8eb0cba6d68171f1950c1b75.zip |
Fix an error path memleak
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/clifile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c index 04bbabe087..ecb2bf0f5a 100644 --- a/source3/libsmb/clifile.c +++ b/source3/libsmb/clifile.c @@ -814,6 +814,7 @@ uint8_t *smb_bytes_push_str(uint8_t *buf, bool ucs2, const char *str) buf = TALLOC_REALLOC_ARRAY(NULL, buf, uint8_t, buflen + converted_size); if (buf == NULL) { + TALLOC_FREE(converted); return NULL; } |