diff options
-rw-r--r-- | src/ephy-shell.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ephy-shell.c b/src/ephy-shell.c index 0c013b804..6a6926e62 100644 --- a/src/ephy-shell.c +++ b/src/ephy-shell.c @@ -577,7 +577,8 @@ ephy_shell_new_tab (EphyShell *shell, previous_embed, request, flags, EPHY_EMBED_CHROME_ALL, FALSE, 0); - g_object_unref (request); + if (request) + g_object_unref (request); return embed; } |