git.droids-corp.org
/
libcmdline.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
843b62a
)
cmdline (merge-intel): don't free the cmdline struct in cmdline_interact()
author
Olivier Matz
<zer0@droids-corp.org>
Fri, 24 Dec 2010 12:56:30 +0000
(13:56 +0100)
committer
Olivier Matz
<zer0@droids-corp.org>
Sun, 2 Jan 2011 20:53:15 +0000
(21:53 +0100)
This function is not supposed to free the 'cl' structure, as it may
be reused by cmdline_stdin_exit().
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
src/lib/cmdline.c
patch
|
blob
|
history
diff --git
a/src/lib/cmdline.c
b/src/lib/cmdline.c
index
0035f44
..
9ad2bbe
100644
(file)
--- a/
src/lib/cmdline.c
+++ b/
src/lib/cmdline.c
@@
-230,5
+230,4
@@
cmdline_interact(struct cmdline *cl)
if (cmdline_in(cl, &c, 1) < 0)
break;
}
- cmdline_free(cl);
}