From 60318e664e9d654038580c593114bcb85d2e5aa1 Mon Sep 17 00:00:00 2001 From: Eric Fischer Date: Tue, 26 Apr 2016 16:51:13 -0700 Subject: [PATCH] Fix leak of pools for -x and -y options --- geojson.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/geojson.c b/geojson.c index 0b3439d..f9124d2 100644 --- a/geojson.c +++ b/geojson.c @@ -2843,5 +2843,8 @@ int main(int argc, char **argv) { free(sourcelist[i]); } + pool_free(&exclude); + pool_free(&include); + return ret; }