Add check for non-NULL function pointer where it was missing.
Add check for non-NULL function pointer where it was missing.

Maybe this was the cause for gnucash bug
http://bugzilla.gnome.org/show_bug.cgi?id=582048 ? But in any
case the pointer should be checked.

git-svn-id: a739a095880fa3ebc46f89d9df64e20166cf4ba9@1558 70169cfe-8b10-0410-8925-dcb4b91034d8

sttts/gwenhywfar,sttts/gwenhywfar,sttts/gwenhywfar