projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04bf20e
)
Fix possible memory leak #361.
author
Daniel Carl
<danielcarl@gmx.de>
Thu, 25 Oct 2018 21:29:06 +0000
(23:29 +0200)
committer
Daniel Carl
<danielcarl@gmx.de>
Thu, 25 Oct 2018 21:29:06 +0000
(23:29 +0200)
src/command.c
patch
|
blob
|
history
diff --git
a/src/command.c
b/src/command.c
index
344a06d
..
e832441
100644
(file)
--- a/
src/command.c
+++ b/
src/command.c
@@
-337,6
+337,7
@@
gboolean command_spawn_editor(Client *c, const Arg *arg,
error:
unlink(file_path);
+ g_free(command);
g_free(file_path);
g_strfreev(argv);
return FALSE;