Free err_info on WTAP_ERR_DECOMPRESS.

Change-Id: I57fbb17baf43b0f1365fef72778ac0e65935456a
Reviewed-on: https://code.wireshark.org/review/4210
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2014-09-20 12:06:58 -07:00
parent 10b33c06de
commit 22a0d65a9a
1 changed files with 1 additions and 0 deletions

View File

@ -3465,6 +3465,7 @@ load_cap_file(capture_file *cf, char *save_file, int out_file_type,
case WTAP_ERR_DECOMPRESS:
cmdarg_err("The compressed file \"%s\" appears to be damaged or corrupt.\n"
"(%s)", cf->filename, err_info);
g_free(err_info);
break;
default: