From 194533bcc869afc9e12beeb5bf2e4f08a6eefed4 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(-) (limited to 'src') diff --git a/src/caja-window.c b/src/caja-window.c index 22410050..d719765f 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