aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-09-04 12:01:09 +0000
committerEvan Huus <eapache@gmail.com>2013-09-04 12:01:09 +0000
commit8eb0bfdc5bdbd8412ad82c4371efb60c442e4693 (patch)
tree9395e31da704203c26c0c55071a0010d32ded045 /tshark.c
parentd11c7d5480d0d5ba1322376acb57e1a4e3635136 (diff)
Fix one small memory leak.
svn path=/trunk/; revision=51747
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tshark.c b/tshark.c
index 9d85c66ed1..1d81362e59 100644
--- a/tshark.c
+++ b/tshark.c
@@ -3039,6 +3039,8 @@ load_cap_file(capture_file *cf, char *save_file, int out_file_type,
goto out;
}
}
+ g_free(idb_inf);
+ idb_inf = NULL;
pdh = NULL;
}