parent
d7f0079cac
commit
9f02a1103c
@ -1 +1 @@
|
||||
SOURCES/gnome-commander-1.16.1.tar.xz
|
||||
SOURCES/gnome-commander-1.16.2.tar.xz
|
||||
|
@ -1 +1 @@
|
||||
de8c9c55efb8228df0c9a74a9e0443aff23cccc8 SOURCES/gnome-commander-1.16.1.tar.xz
|
||||
a1d1bf08b9324cba49180730b9deb6277abe3b8f SOURCES/gnome-commander-1.16.2.tar.xz
|
||||
|
@ -1,27 +0,0 @@
|
||||
From ed704b30992b7f576060c424e431d6909504b9b4 Mon Sep 17 00:00:00 2001
|
||||
From: Mamoru TASAKA <mtasaka@fedoraproject.org>
|
||||
Date: Thu, 18 Apr 2024 19:56:24 +0900
|
||||
Subject: [PATCH] Fix double g_error_free call in remote_close_callback
|
||||
|
||||
gnome_cmd_error_message() calls g_error_free() internally,
|
||||
so no need to call g_error_free() again in
|
||||
remote_close_callback().
|
||||
---
|
||||
src/gnome-cmd-con-remote.cc | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/src/gnome-cmd-con-remote.cc b/src/gnome-cmd-con-remote.cc
|
||||
index 85f87e3d..39a131e5 100644
|
||||
--- a/src/gnome-cmd-con-remote.cc
|
||||
+++ b/src/gnome-cmd-con-remote.cc
|
||||
@@ -125,7 +125,6 @@ static void remote_close_callback(GObject *gobj, GAsyncResult *result, gpointer
|
||||
if (error && !g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CLOSED))
|
||||
{
|
||||
gnome_cmd_error_message(_("Disconnect error"), error);
|
||||
- g_error_free(error);
|
||||
return;
|
||||
}
|
||||
if (error)
|
||||
--
|
||||
GitLab
|
||||
|
Loading…
Reference in new issue