r16059 - gnucash/trunk/src/app-utils - Plug a leak of strings in the swip-wrapped gnc_gettext_helper().

Chris Shoemaker chris at cvs.gnucash.org
Mon May 7 09:24:28 EDT 2007


Author: chris
Date: 2007-05-07 09:24:27 -0400 (Mon, 07 May 2007)
New Revision: 16059
Trac: http://svn.gnucash.org/trac/changeset/16059

Modified:
   gnucash/trunk/src/app-utils/app-utils.i
Log:
Plug a leak of strings in the swip-wrapped gnc_gettext_helper().


Modified: gnucash/trunk/src/app-utils/app-utils.i
===================================================================
--- gnucash/trunk/src/app-utils/app-utils.i	2007-05-06 21:47:16 UTC (rev 16058)
+++ gnucash/trunk/src/app-utils/app-utils.i	2007-05-07 13:24:27 UTC (rev 16059)
@@ -26,6 +26,7 @@
 QofBook * gnc_get_current_book (void);
 Account * gnc_get_current_root_account (void);
 
+%newobject gnc_gettext_helper;
 char * gnc_gettext_helper(const char *string);
 
 GNCOptionDB * gnc_option_db_new(SCM guile_options);



More information about the gnucash-changes mailing list