mirror of
https://github.com/rapid7/metasploit-payloads
synced 2025-04-06 01:16:37 +02:00
free the useraccount each time too
make sure we are doing good memory cleanup MSP-12356
This commit is contained in:
parent
3ebf0513b0
commit
5c1c9c317d
@ -187,6 +187,7 @@ static DWORD ntds_channel_read(Channel *channel, Packet *request,
|
|||||||
*bytesRead = bufferSize;
|
*bytesRead = bufferSize;
|
||||||
next_user(ctx->ntdsState, ctx->accountColumns);
|
next_user(ctx->ntdsState, ctx->accountColumns);
|
||||||
}
|
}
|
||||||
|
free(userAccount);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user