mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
browser-plugin: Fix crash if shell is not running
This commit is contained in:
parent
34ba6f2f71
commit
d5b4e30eb7
1 changed files with 2 additions and 1 deletions
|
|
@ -643,7 +643,8 @@ plugin_get_shell_version (PluginObject *obj,
|
|||
STRINGN_TO_NPVARIANT (buffer, length, *result);
|
||||
|
||||
out:
|
||||
g_variant_unref (res);
|
||||
if (res)
|
||||
g_variant_unref (res);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue