diff options
author | Andreas Schneider <asn@samba.org> | 2013-02-20 09:31:17 +0100 |
---|---|---|
committer | Alexander Bokovoy <ab@samba.org> | 2013-02-22 16:36:13 +0100 |
commit | b229d1dcb324c3da9d0865bd72a07e9e1b8b0c53 (patch) | |
tree | 298812a73e2b4fc0ed3707cedbcfc21365bbff07 | |
parent | 6ac1435ab3389d36497ece61a2461d9ccc7b4560 (diff) | |
download | samba-b229d1dcb324c3da9d0865bd72a07e9e1b8b0c53.tar.gz samba-b229d1dcb324c3da9d0865bd72a07e9e1b8b0c53.tar.bz2 samba-b229d1dcb324c3da9d0865bd72a07e9e1b8b0c53.zip |
s3-smbd: Don't leak subcntarr array.
Reviewed-by: Alexander Bokovoy <ab@samba.org>
-rw-r--r-- | source3/smbd/lanman.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c index d54e1d51e6..b5598a4382 100644 --- a/source3/smbd/lanman.c +++ b/source3/smbd/lanman.c @@ -1159,8 +1159,8 @@ static bool api_DosPrintQEnum(struct smbd_server_connection *sconn, } } - SAFE_FREE(subcntarr); out: + SAFE_FREE(subcntarr); *rdata_len = desc.usedlen; *rparam_len = 8; *rparam = smb_realloc_limit(*rparam,*rparam_len); |