Skip to content

Commit

Permalink
Fix crash for invalid launch_uri & launch_id; (#95)
Browse files Browse the repository at this point in the history
Signed-off-by: CUI Wei <[email protected]>
  • Loading branch information
ghostplant authored and rilian-la-te committed Mar 9, 2018
1 parent 7394842 commit 49f4e43
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions util/launcher.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ void child_spawn_func(void *data)
bool vala_panel_launch_with_context(GDesktopAppInfo *app_info, GAppLaunchContext *cxt, GList *uris)
{
g_autoptr(GError) err = NULL;
if (app_info == NULL)
return false;
bool ret = g_desktop_app_info_launch_uris_as_manager(G_DESKTOP_APP_INFO(app_info),
uris,
cxt,
Expand Down

0 comments on commit 49f4e43

Please sign in to comment.