aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-09-20 12:06:58 -0700
committerGuy Harris <guy@alum.mit.edu>2014-09-20 19:07:22 +0000
commit22a0d65a9a6691bcec24905baefeaba370f04043 (patch)
treed881b5c267f77b8192fb101ca376fb9ff05676d3 /tshark.c
parent10b33c06de6d5ff7f60fcac2656f42b973da3420 (diff)
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>
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tshark.c b/tshark.c
index e800eb63ca..1fa509f23e 100644
--- a/tshark.c
+++ b/tshark.c
@@ -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: