Skip to content

Commit d923721

Browse files
committed
Fix sniffer CreateSession
1 parent 1c8d593 commit d923721

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/sniffer.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5244,6 +5244,7 @@ static SnifferSession* CreateSession(IpInfo* ipInfo, TcpInfo* tcpInfo,
52445244
}
52455245
if (HashInit(newHash) != 0) {
52465246
SetError(EXTENDED_MASTER_HASH_STR, error, NULL, 0);
5247+
XFREE(newHash, NULL, DYNAMIC_TYPE_HASHES);
52475248
XFREE(session, NULL, DYNAMIC_TYPE_SNIFFER_SESSION);
52485249
return NULL;
52495250
}

0 commit comments

Comments
 (0)