fixed warning about potential null pointer dereference
fixed warning about potential null pointer dereference

libexpat/libexpat,libexpat/libexpat,libexpat/libexpat,libexpat/libexpat,libexpat/libexpat,libexpat/libexpat