diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2012-03-14 01:08:09 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2012-03-14 01:08:09 +0000 |
commit | 603b4d43486e6ecf06f93182a4bbee2b9678a9cb (patch) | |
tree | 26110b9e3aac7ee67a48d552fa78ee1ae3231a0d /wiretap/file_access.c | |
parent | e60c1286b26e61eacfa302d815553cd977205776 (diff) |
Don't free idb_inf in wtap_dump_open_ng(): free it in the callers. This fixes the double-free editcap crashes that the buildbot's been seeing lately.
svn path=/trunk/; revision=41542
Diffstat (limited to 'wiretap/file_access.c')
-rw-r--r-- | wiretap/file_access.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/wiretap/file_access.c b/wiretap/file_access.c index 5675cc22ef..d4ddd6f735 100644 --- a/wiretap/file_access.c +++ b/wiretap/file_access.c @@ -1009,7 +1009,6 @@ wtap_dumper* wtap_dump_open_ng(const char *filename, int filetype, int encap, if ((idb_inf != NULL) && (idb_inf->number_of_interfaces > 0)) { wdh->number_of_interfaces = idb_inf->number_of_interfaces; wdh->interface_data = idb_inf->interface_data; - g_free(idb_inf); } else { wtapng_if_descr_t descr; |