Commit b9d919bd authored by LRN's avatar LRN

Don't ref a NULL pointer

parent f405f421
......@@ -3526,7 +3526,7 @@ g_win32_app_info_new_from_app (GWin32AppInfoApplication *app,
new_info->supported_types[i] = NULL;
new_info->handler = g_object_ref (handler);
new_info->handler = handler ? g_object_ref (handler) : NULL;
return G_APP_INFO (new_info);
}
......
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