mirror of
https://github.com/rapid7/metasploit-payloads
synced 2025-01-02 11:36:22 +01: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;
|
||||
next_user(ctx->ntdsState, ctx->accountColumns);
|
||||
}
|
||||
free(userAccount);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user