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

@ -830,6 +830,7 @@ xaccComboCellSetIgnoreString (ComboCell *cell, const char *ignore_string)
box = cell->cell.gui_private;
g_free (box->ignore_string);
box->ignore_string = g_strdup (ignore_string);
}
@ -845,6 +846,7 @@ xaccComboCellSetIgnoreHelp (ComboCell *cell, const char *ignore_help)
box = cell->cell.gui_private;
g_free (box->ignore_help);
box->ignore_help = g_strdup (ignore_help);
}