]> The Tcpdump Group git mirrors - libpcap/commitdiff
Free any filter set on a savefile when the savefile is closed.
authornvercamm <[email protected]>
Fri, 16 Apr 2010 09:54:45 +0000 (02:54 -0700)
committerGuy Harris <[email protected]>
Fri, 16 Apr 2010 09:54:45 +0000 (02:54 -0700)
Reviewed-By: Guy Harris <[email protected]>
CREDITS
savefile.c

diff --git a/CREDITS b/CREDITS
index 2d7c09e9d0a8287fe2977242e58a35831505fa6b..0d237833b515ec401ab3648b07f6e7dff45e5388 100644 (file)
--- a/CREDITS
+++ b/CREDITS
@@ -89,6 +89,7 @@ Additional people who have contributed patches:
        Mike Kershaw                    <dragorn at kismetwireless dot net>
        Mike Wiacek                     <mike at iroot dot net>
        Monroe Williams                 <monroe at pobox dot com>
+                                       <nvercamm at sourceforge dot net>
        N. Leiten                       <nleiten at sourceforge dot net>
        Nicolas Dade                    <ndade at nsd dot dyndns dot org>
        Octavian Cerna                  <tavy at ylabs dot com>
index 56e571937d2ad435ee598411d3c8a510009ccfc0..8f4f810a21d6d2d9d77ae867d33102314307ea3b 100644 (file)
@@ -161,6 +161,7 @@ sf_cleanup(pcap_t *p)
                (void)fclose(p->sf.rfile);
        if (p->buffer != NULL)
                free(p->buffer);
+       pcap_freecode(&p->fcode);
 }
 
 pcap_t *