Fix memory leaks.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3275 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2000-12-09 08:45:45 +00:00
parent 7899b69833
commit f9e45f9c73

View File

@ -284,7 +284,7 @@ destroyCombo (BasicCell *bcell)
/* =============================================== */
static void
menustring_free(gpointer string, gpointer user_data)
menustring_free (gpointer string, gpointer user_data)
{
g_free (string);
}
@ -830,7 +830,8 @@ xaccComboCellSetIgnoreString (ComboCell *cell, const char *ignore_string)
box = cell->cell.gui_private;
box->ignore_string = g_strdup(ignore_string);
g_free (box->ignore_string);
box->ignore_string = g_strdup (ignore_string);
}
/* =============================================== */
@ -845,7 +846,8 @@ xaccComboCellSetIgnoreHelp (ComboCell *cell, const char *ignore_help)
box = cell->cell.gui_private;
box->ignore_help = g_strdup(ignore_help);
g_free (box->ignore_help);
box->ignore_help = g_strdup (ignore_help);
}
/* =============================================== */