r20009 - gnucash/trunk/src/app-utils - Plug memory leak

Phil Longstaff plongstaff at code.gnucash.org
Thu Dec 30 20:38:38 EST 2010


Author: plongstaff
Date: 2010-12-30 20:38:37 -0500 (Thu, 30 Dec 2010)
New Revision: 20009
Trac: http://svn.gnucash.org/trac/changeset/20009

Modified:
   gnucash/trunk/src/app-utils/gnc-ui-util.c
Log:
Plug memory leak


Modified: gnucash/trunk/src/app-utils/gnc-ui-util.c
===================================================================
--- gnucash/trunk/src/app-utils/gnc-ui-util.c	2010-12-30 15:57:14 UTC (rev 20008)
+++ gnucash/trunk/src/app-utils/gnc-ui-util.c	2010-12-31 01:38:37 UTC (rev 20009)
@@ -1042,7 +1042,8 @@
     if (currency)
     {
         mnemonic = requested_currency;
-        requested_currency = g_strdup(gnc_commodity_get_mnemonic(currency));
+// ??? Does anyone know what this is supposed to be doing?
+//        requested_currency = g_strdup(gnc_commodity_get_mnemonic(currency));
         g_free(mnemonic);
     }
     return currency;



More information about the gnucash-changes mailing list