mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
Plug memory leak
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20009 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -1042,7 +1042,8 @@ gnc_default_currency_common (gchar *requested_currency,
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user