Merge pull request #6336 from lealem47/useAfterFree

Remove XMEMSET after XFREE in sniffer.c
pull/6345/head
David Garske 2023-04-26 10:50:00 -07:00 committed by GitHub
commit b42d3566ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -831,7 +831,6 @@ static void FreeSnifferSession(SnifferSession* session)
#endif
}
XFREE(session, NULL, DYNAMIC_TYPE_SNIFFER_SESSION);
XMEMSET(session, 0, sizeof(SnifferSession));
}