svn commit: trunk/busybox/e2fsprogs
Bernhard Fischer
rep.dot.nop at gmail.com
Sun Feb 3 00:40:24 UTC 2008
On Sat, Feb 02, 2008 at 10:54:58AM -0800, vda at busybox.net wrote:
>Author: vda
>Date: 2008-02-02 10:54:58 -0800 (Sat, 02 Feb 2008)
>New Revision: 20934
>
>Log:
>fsck: don't kill pid -1! (Roy Marples <roy at marples.name>)
>
>
>
>Modified:
> trunk/busybox/e2fsprogs/fsck.c
>
>
>Changeset:
>Modified: trunk/busybox/e2fsprogs/fsck.c
>===================================================================
>--- trunk/busybox/e2fsprogs/fsck.c 2008-02-02 18:50:50 UTC (rev 20933)
>+++ trunk/busybox/e2fsprogs/fsck.c 2008-02-02 18:54:58 UTC (rev 20934)
>@@ -663,6 +663,12 @@
> for (i = num_args+1; i < argc; i++)
> free(argv[i]);
>
>+ /* No pid, so don't record an instance */
>+ if (pid < 0) {
>+ free(inst);
I didn't look at the context, but can it be if (ENABLE_FEATURE_CLEAN_UP)
free() ?
More information about the busybox
mailing list