[gnome-commander] Null check, part 2
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] Null check, part 2
- Date: Wed, 10 Nov 2021 21:52:38 +0000 (UTC)
commit 32f79832bdd18efe35b16a117fe6eec89ae6c1fe
Author: Uwe Scholz <u scholz83 gmx de>
Date: Wed Nov 10 22:52:20 2021 +0100
Null check, part 2
src/gnome-cmd-con.cc | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/gnome-cmd-con.cc b/src/gnome-cmd-con.cc
index 427e27fe..4204996a 100644
--- a/src/gnome-cmd-con.cc
+++ b/src/gnome-cmd-con.cc
@@ -455,6 +455,8 @@ void gnome_cmd_con_add_bookmark (GnomeCmdCon *con, gchar *name, gchar *path)
void gnome_cmd_con_erase_bookmark (GnomeCmdCon *con)
{
+ if (!con)
+ return;
g_return_if_fail (GNOME_CMD_IS_CON (con));
GnomeCmdBookmarkGroup *group = con->priv->bookmarks;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]