[gnome-commander] Additional sanity check
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] Additional sanity check
- Date: Sun, 19 Sep 2021 19:29:31 +0000 (UTC)
commit f57fcf1099916e2d657d0d01cd0c9340631bbb82
Author: Uwe Scholz <u scholz83 gmx de>
Date: Sun Sep 19 21:28:09 2021 +0200
Additional sanity check
src/gnome-cmd-file.cc | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/gnome-cmd-file.cc b/src/gnome-cmd-file.cc
index 1f441978..715227c6 100644
--- a/src/gnome-cmd-file.cc
+++ b/src/gnome-cmd-file.cc
@@ -938,6 +938,7 @@ void gnome_cmd_file_edit (GnomeCmdFile *f)
void GnomeCmdFile::update_gFileInfo(GFileInfo *gFileInfo_new)
{
g_return_if_fail (gFileInfo_new != nullptr);
+ g_return_if_fail (G_IS_FILE_INFO(gFileInfo_new));
g_free (collate_key);
g_object_unref (this->gFileInfo);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]