summaryrefslogtreecommitdiff
path: root/src/caja-window.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-25 09:20:09 +0100
committerLuke from DC <[email protected]>2021-02-26 19:42:51 +0000
commit50e77c603750819f79e95d7e5af42a72fd2c070b (patch)
tree0189dfbbdb266506fef6fd365547aab4aa48b36d /src/caja-window.c
parentd01746520bb262e1bcd86d8add1999167d0e27e5 (diff)
downloadcaja-50e77c603750819f79e95d7e5af42a72fd2c070b.tar.bz2
caja-50e77c603750819f79e95d7e5af42a72fd2c070b.tar.xz
caja-window: Fix cppcheck warning unusedAllocatedMemory
Diffstat (limited to 'src/caja-window.c')
-rw-r--r--src/caja-window.c4
1 files changed, 0 insertions, 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);
}
}