auto-response-header: free memory on quit
authorSébastien Marie <semarie@users.noreply.github.com>
Mon, 3 Nov 2014 05:31:45 +0000 (06:31 +0100)
committerSé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

index 1eb2e08..880220d 100644 (file)
@@ -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);