svn commit: trunk/busybox/findutils
vapier at busybox.net
vapier at busybox.net
Thu Apr 12 18:29:31 UTC 2007
Author: vapier
Date: 2007-04-12 11:29:27 -0700 (Thu, 12 Apr 2007)
New Revision: 18419
Log:
make sure we free the grep data as well
Modified:
trunk/busybox/findutils/grep.c
Changeset:
Modified: trunk/busybox/findutils/grep.c
===================================================================
--- trunk/busybox/findutils/grep.c 2007-04-12 17:10:45 UTC (rev 18418)
+++ trunk/busybox/findutils/grep.c 2007-04-12 18:29:27 UTC (rev 18419)
@@ -493,6 +493,7 @@
free(gl->pattern);
if ((gl->flg_mem_alocated_compiled & COMPILED))
regfree(&(gl->preg));
+ free(gl);
free(pattern_head_ptr);
}
}
More information about the busybox-cvs
mailing list