PERFORCE change 145209 for review
Gabor Kovesdan
gabor at FreeBSD.org
Mon Jul 14 11:40:14 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=145209
Change 145209 by gabor at gabor_server on 2008/07/14 11:40:05
- Remove two wrong frees, they cause segfault
Affected files ...
.. //depot/projects/soc2008/gabor_textproc/grep/util.c#60 edit
Differences ...
==== //depot/projects/soc2008/gabor_textproc/grep/util.c#60 (text+ko) ====
@@ -161,7 +161,6 @@
if (f->binary && binbehave == BINFILE_SKIP) {
grep_close(f);
- free(f);
return (0);
}
@@ -197,7 +196,6 @@
if (Bflag > 0)
clearqueue();
grep_close(f);
- free(f);
if (cflag) {
if (!hflag)
More information about the p4-projects
mailing list