[gnome-commander] Unref gfile object when not needed anymore
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] Unref gfile object when not needed anymore
- Date: Wed, 1 Dec 2021 22:18:16 +0000 (UTC)
commit 494490d33cc2cff42f8df2e08d802538c04d8835
Author: Uwe Scholz <u scholz83 gmx de>
Date: Wed Dec 1 23:18:00 2021 +0100
Unref gfile object when not needed anymore
src/gnome-cmd-con-remote.cc | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/gnome-cmd-con-remote.cc b/src/gnome-cmd-con-remote.cc
index f0898eb3..7c6689f8 100644
--- a/src/gnome-cmd-con-remote.cc
+++ b/src/gnome-cmd-con-remote.cc
@@ -163,6 +163,7 @@ static gboolean remote_close (GnomeCmdCon *con)
{
g_warning("remote_close - g_file_find_enclosing_mount error: %s - %s", uri, error->message);
g_error_free(error);
+ g_object_unref(gFileTmp);
return false;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]