fix possible null-pointer deref

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10245 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 2004-08-27 22:20:59 +00:00
parent 5689a952e8
commit 3efa30588b

View File

@ -567,7 +567,7 @@ txf_code_select_row_cb (GtkCList *clist,
frame = gnc_glade_lookup_widget (GTK_WIDGET (clist),
"payer_name_source_frame");
if (txf_info->payer_name_source)
if (txf_info && txf_info->payer_name_source)
{
gboolean current;