From b229d1dcb324c3da9d0865bd72a07e9e1b8b0c53 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 20 Feb 2013 09:31:17 +0100 Subject: s3-smbd: Don't leak subcntarr array. Reviewed-by: Alexander Bokovoy --- source3/smbd/lanman.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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); -- cgit