aboutsummaryrefslogtreecommitdiffstats
path: root/epan/maxmind_db.c
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2018-03-06 21:40:24 +0100
committerPascal Quantin <pascal.quantin@gmail.com>2018-03-06 22:05:30 +0000
commit76267f4bc5d8c62eaf72af6a8a2fbadeb75730c2 (patch)
tree1f693a3c16aac667a20c5bc7b31797dc98419374 /epan/maxmind_db.c
parentf0f4adc9d9962376b545a72f5448be8f51676725 (diff)
maxmind_db.c: fix a memory leak
Change-Id: Ie3484e863363a8d2b9ccb435088886020678d15d Reviewed-on: https://code.wireshark.org/review/26284 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/maxmind_db.c')
-rw-r--r--epan/maxmind_db.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/maxmind_db.c b/epan/maxmind_db.c
index 567c5374bc..97b1f7fb59 100644
--- a/epan/maxmind_db.c
+++ b/epan/maxmind_db.c
@@ -199,6 +199,7 @@ process_mmdbr_stdout(int fd) {
}
g_strfreev(lines);
}
+ g_free(read_buf);
return new_entries;
}