From: Victor Julien Date: Wed, 25 Sep 2013 08:14:46 +0000 (+0200) Subject: DNS: free TX events using proper function X-Git-Tag: suricata-2.0beta2~332 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d78cc8ca6e15dacab4ffbf6447a8c6398d800d5;p=thirdparty%2Fsuricata.git DNS: free TX events using proper function --- diff --git a/src/app-layer-dns-common.c b/src/app-layer-dns-common.c index cadb9ed0b9..a391d4df7f 100644 --- a/src/app-layer-dns-common.c +++ b/src/app-layer-dns-common.c @@ -144,8 +144,7 @@ static void DNSTransactionFree(DNSTransaction *tx) { SCFree(a); } - if (tx->decoder_events) - SCFree(tx->decoder_events); + AppLayerDecoderEventsFreeEvents(tx->decoder_events); SCFree(tx); }