From 1d22652728eec0729d635b684f203993a4e111a9 Mon Sep 17 00:00:00 2001 From: vapier Date: Thu, 12 Apr 2007 18:29:27 +0000 Subject: make sure we free the grep data as well git-svn-id: svn://busybox.net/trunk/busybox@18419 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- findutils/grep.c | 1 + 1 file changed, 1 insertion(+) diff --git a/findutils/grep.c b/findutils/grep.c index 2ca4a3a0a..f43417601 100644 --- a/findutils/grep.c +++ b/findutils/grep.c @@ -493,6 +493,7 @@ int grep_main(int argc, char **argv) free(gl->pattern); if ((gl->flg_mem_alocated_compiled & COMPILED)) regfree(&(gl->preg)); + free(gl); free(pattern_head_ptr); } } -- cgit v1.2.3-55-g6feb