From 0cc3c94654175a0e88ae26f96257a02c5fcbc794 Mon Sep 17 00:00:00 2001 From: Chris Shoemaker Date: Mon, 7 May 2007 13:24:27 +0000 Subject: [PATCH] Plug a leak of strings in the swip-wrapped gnc_gettext_helper(). git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16059 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/app-utils/app-utils.i | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app-utils/app-utils.i b/src/app-utils/app-utils.i index b3586d8fdd..8237bbf3fd 100644 --- a/src/app-utils/app-utils.i +++ b/src/app-utils/app-utils.i @@ -26,6 +26,7 @@ typedef int GNCOptionDBHandle; 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);