From 50e77c603750819f79e95d7e5af42a72fd2c070b Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 25 Feb 2021 09:20:09 +0100 Subject: caja-window: Fix cppcheck warning unusedAllocatedMemory --- src/caja-window.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/caja-window.c b/src/caja-window.c index 37dbb4ee..0f881c1a 100644 --- a/src/caja-window.c +++ b/src/caja-window.c @@ -1525,12 +1525,8 @@ real_sync_title (CajaWindow *window, { if (slot == window->details->active_pane->active_slot) { - char *copy; - - copy = g_strdup (slot->title); g_signal_emit_by_name (window, "title_changed", slot->title); - g_free (copy); } } -- cgit v1.2.1