Forgot one instance of double-free fix.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12089 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming
2005-12-04 12:01:54 +00:00
parent ee541bb6f8
commit d025c1c666

View File

@@ -512,7 +512,13 @@ on_aqhbci_button (GtkButton *button,
/* User pressed cancel in choice dialog */
if (x == -1) {
GWEN_PluginDescription_List2_freeAll(pluginlist);
#if ((GWENHYWFAR_VERSION_MAJOR < 1) || \
((GWENHYWFAR_VERSION_MAJOR == 1) && \
((GWENHYWFAR_VERSION_MINOR < 98))))
/* Memory cleanup needed for gwenhywfar<1.98.x but not for
gwenhywfar>=1.98.x */
GWEN_PluginDescription_List2_free(pluginlist);
#endif
return;
}