summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-02-25 09:20:09 +0100
committerraveit65 <[email protected]>2022-07-21 19:33:51 +0200
commit194533bcc869afc9e12beeb5bf2e4f08a6eefed4 (patch)
treec119366621eaf38ebc211bbdd28c311b95e71798 /src
parent40b6ff94e9e58e96f19de67e6bfea240593005e8 (diff)
downloadcaja-194533bcc869afc9e12beeb5bf2e4f08a6eefed4.tar.bz2
caja-194533bcc869afc9e12beeb5bf2e4f08a6eefed4.tar.xz
caja-window: Fix cppcheck warning unusedAllocatedMemory
Diffstat (limited to 'src')
-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 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);
}
}