Should have been part of r41542: Don't free idb_inf in wtap_dump_open_ng(): free it in the callers.
svn path=/trunk/; revision=41553
This commit is contained in:
parent
2d829b392f
commit
9e8148eeef
3
file.c
3
file.c
|
@ -3855,6 +3855,9 @@ cf_save(capture_file *cf, const char *fname, packet_range_t *range, guint save_f
|
|||
|
||||
pdh = wtap_dump_open_ng(fname, save_format, cf->lnk_t, cf->snap,
|
||||
compressed, shb_hdr, idb_inf, &err);
|
||||
g_free(idb_inf);
|
||||
idb_inf = NULL;
|
||||
|
||||
if (pdh == NULL) {
|
||||
cf_open_failure_alert_box(fname, err, NULL, TRUE, save_format);
|
||||
goto fail;
|
||||
|
|
Loading…
Reference in New Issue