Commit c47cbd3b authored by Christian Hergert's avatar Christian Hergert

gi: check base info for NULL

parent 593325f9
......@@ -799,7 +799,7 @@ tmpl_expr_gi_call_eval (TmplExprGiCall *node,
base_info = g_irepository_find_by_name (repository, ns, node->name);
if (!GI_IS_FUNCTION_INFO (base_info))
if (base_info == NULL || !GI_IS_FUNCTION_INFO (base_info))
{
g_set_error (error,
TMPL_ERROR,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment