browser-plugin: Fix crash if shell is not running
This commit is contained in:
parent
e890674e49
commit
234882cbc6
@ -643,6 +643,7 @@ plugin_get_shell_version (PluginObject *obj,
|
|||||||
STRINGN_TO_NPVARIANT (buffer, length, *result);
|
STRINGN_TO_NPVARIANT (buffer, length, *result);
|
||||||
|
|
||||||
out:
|
out:
|
||||||
|
if (res)
|
||||||
g_variant_unref (res);
|
g_variant_unref (res);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user