projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e1c7c7
)
auto-response-header: free memory on quit
author
Sébastien Marie
<semarie@users.noreply.github.com>
Mon, 3 Nov 2014 05:31:45 +0000
(06:31 +0100)
committer
Sébastien Marie
<semarie@users.noreply.github.com>
Mon, 3 Nov 2014 05:31:45 +0000
(06:31 +0100)
follow good practices: free the memory allocated before quit
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
1eb2e08
..
880220d
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-429,6
+429,9
@@
void vb_quit(gboolean force)
#ifdef FEATURE_AUTOCMD
autocmd_cleanup();
#endif
+#ifdef FEATURE_ARH
+ arh_free(vb.config.autoresponseheader);
+#endif
g_slist_free_full(vb.config.cmdargs, g_free);