summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2016-08-06 21:19:43 +1200
committerDavid Phillips <dbphillipsnz@gmail.com>2016-08-06 21:19:43 +1200
commitfe85861f176998d694566b6718125848bd8f52be (patch)
treed83332781b3b9e0eed9466e52afb589b599f655f
parentcc7bb16e7c731454edccee0a4a0ebfaf56bd2cca (diff)
downloadodds-and-ends-fe85861f176998d694566b6718125848bd8f52be.tar.xz
Fix memory leak
-rw-r--r--match_pool.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/match_pool.c b/match_pool.c
index 6df6af8..eda8f61 100644
--- a/match_pool.c
+++ b/match_pool.c
@@ -45,5 +45,6 @@ int main(int argc, char **argv)
}
printf("%s %s\n", buffer, i < 0? "matches" : "doesn't match" );
}
+ free(local_pool);
return 0;
}