r19999 - gnucash/trunk/src - Fix r19985, r19986 for guile-1.6.8.

Christian Stimming cstim at code.gnucash.org
Thu Dec 30 06:33:31 EST 2010


Author: cstim
Date: 2010-12-30 06:33:31 -0500 (Thu, 30 Dec 2010)
New Revision: 19999
Trac: http://svn.gnucash.org/trac/changeset/19999

Modified:
   gnucash/trunk/src/app-utils/guile-util.c
   gnucash/trunk/src/gnome-utils/gnc-menu-extensions.c
   gnucash/trunk/src/guile-mappings.h
Log:
Fix r19985, r19986 for guile-1.6.8.

The return value of guile-1.6's SCM_STRING_CHARS must not be freed, as
opposed to the return value of guile-1.8's scm_to_locale_string. So we
must wrap the free() into a macro that is defined appropriately (or maybe
we should refactor this into a function returning a g_malloc'd g_char anyway.)



More information about the gnucash-patches mailing list