Commit 197324d7 authored by Peter Tyser's avatar Peter Tyser Committed by Wolfgang Denk
Browse files

hush: Fix bogus free() call

An off-by-one error in hush.c resulted in an unintentional free() call
every time a command was executed
Signed-off-by: default avatarPeter Tyser <>
parent ff27650b
......@@ -2002,7 +2002,7 @@ static int free_pipe(struct pipe *pi, int indent)
#ifndef __U_BOOT__
for (a = child->argc;a >= 0;a--) {
for (a = 0; a < child->argc; a++) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment