Fix crash when

clicking on "start aqbanking-wizard" with gwenhywfar>=1.99.x.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12088 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2005-12-04 11:56:17 +00:00
parent 097ff058b0
commit ee541bb6f8
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-12-04 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/druid-hbci-initial.c: Fix crash when
clicking on "start aqbanking-wizard" with gwenhywfar>=1.99.x.
2005-12-03 Christian Stimming <stimming@tuhh.de>
* Makefile.am: Add convenience makefile rule "make pot" for

View File

@ -46,6 +46,7 @@
#include <aqbanking/banking.h>
#include <gwenhywfar/stringlist.h>
#include <gwenhywfar/version.h>
/* #define DEFAULT_HBCI_VERSION 201 */
@ -530,7 +531,13 @@ on_aqhbci_button (GtkButton *button,
be freed */
backend_name = g_strdup (backend_name_nc);
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
/* ***** */