From 5ee72e71e7b9afee2ae485000b7c9ce27143c065 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Jan 08 2021 06:13:08 +0000 Subject: Apply patch 0010-dbus-manager-Fix-double-free.patch patch_name: 0010-dbus-manager-Fix-double-free.patch present_in_specfile: true location_in_specfile: 10 --- diff --git a/src/nautilus-dbus-manager.c b/src/nautilus-dbus-manager.c index 1ac6e12..728b1de 100644 --- a/src/nautilus-dbus-manager.c +++ b/src/nautilus-dbus-manager.c @@ -64,7 +64,7 @@ nautilus_dbus_manager_dispose (GObject *object) static void undo_redo_on_finished (gpointer user_data) { - g_autoptr (NautilusFileUndoManager) undo_manager = NULL; + NautilusFileUndoManager *undo_manager = NULL; int *handler_id = (int *) user_data; undo_manager = nautilus_file_undo_manager_get (); @@ -77,7 +77,7 @@ static gboolean handle_redo (NautilusDBusFileOperations *object, GDBusMethodInvocation *invocation) { - g_autoptr (NautilusFileUndoManager) undo_manager = NULL; + NautilusFileUndoManager *undo_manager = NULL; gint *handler_id = g_new0(int, 1); undo_manager = nautilus_file_undo_manager_get (); @@ -94,7 +94,7 @@ static gboolean handle_undo (NautilusDBusFileOperations *object, GDBusMethodInvocation *invocation) { - g_autoptr (NautilusFileUndoManager) undo_manager = NULL; + NautilusFileUndoManager *undo_manager = NULL; gint *handler_id = g_new0(int, 1); undo_manager = nautilus_file_undo_manager_get ();