projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Synchronize with trunk revision 59636 (just before Alex's CreateProcess revamp).
[reactos.git]
/
base
/
shell
/
cmd
/
misc.c
diff --git
a/base/shell/cmd/misc.c
b/base/shell/cmd/misc.c
index
45a12e5
..
c94fce8
100644
(file)
--- a/
base/shell/cmd/misc.c
+++ b/
base/shell/cmd/misc.c
@@
-194,6
+194,7
@@
BOOL add_entry (LPINT ac, LPTSTR **arg, LPCTSTR entry)
*arg = cmd_realloc (oldarg, (*ac + 2) * sizeof (LPTSTR));
if (NULL == *arg)
{
+ cmd_free (q);
*arg = oldarg;
return FALSE;
}