Do not read from NULL

master
Yevgen Muntyan 2006-11-21 20:32:56 -06:00
parent 036fe87f92
commit cd139038eb
1 changed files with 3 additions and 1 deletions

View File

@ -64,7 +64,9 @@ moo_python_init (guint version,
}
moo_py_api = api;
moo_py_api->_free_list = NULL;
if (moo_py_api)
moo_py_api->_free_list = NULL;
return TRUE;
}