[Gnucash-changes] r12089 - gnucash/trunk/src/import-export/hbci -
Forgot one instance of double-free fix.
Christian Stimming
cstim at cvs.gnucash.org
Sun Dec 4 07:01:55 EST 2005
Author: cstim
Date: 2005-12-04 07:01:54 -0500 (Sun, 04 Dec 2005)
New Revision: 12089
Trac: http://svn.gnucash.org/trac/changeset/12089
Modified:
gnucash/trunk/src/import-export/hbci/druid-hbci-initial.c
Log:
Forgot one instance of double-free fix.
Modified: gnucash/trunk/src/import-export/hbci/druid-hbci-initial.c
===================================================================
--- gnucash/trunk/src/import-export/hbci/druid-hbci-initial.c 2005-12-04 11:56:17 UTC (rev 12088)
+++ gnucash/trunk/src/import-export/hbci/druid-hbci-initial.c 2005-12-04 12:01:54 UTC (rev 12089)
@@ -512,7 +512,13 @@
/* 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;
}
More information about the gnucash-changes
mailing list