diff options
author | David Phillips <dbphillipsnz@gmail.com> | 2016-08-06 21:19:43 +1200 |
---|---|---|
committer | David Phillips <dbphillipsnz@gmail.com> | 2016-08-06 21:19:43 +1200 |
commit | fe85861f176998d694566b6718125848bd8f52be (patch) | |
tree | d83332781b3b9e0eed9466e52afb589b599f655f | |
parent | cc7bb16e7c731454edccee0a4a0ebfaf56bd2cca (diff) | |
download | odds-and-ends-fe85861f176998d694566b6718125848bd8f52be.tar.xz |
Fix memory leak
-rw-r--r-- | match_pool.c | 1 |
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; } |