From: Sébastien Marie <semarie@users.noreply.github.com>
Date: Mon, 3 Nov 2014 05:31:45 +0000 (+0100)
Subject: auto-response-header: free memory on quit
X-Git-Url: https://git.owens.tech/about.html/about.html/git?a=commitdiff_plain;h=55cdc1776c8ec63d821a0243325a683c1cb8c535;p=vimb.git

auto-response-header: free memory on quit

follow good practices: free the memory allocated before quit
---

diff --git a/src/main.c b/src/main.c
index 1eb2e08..880220d 100644
--- 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);