Fix a copy/paste error around fixing a resource leak.
authorwwp <subscript@free.fr>
Tue, 5 Oct 2021 06:28:55 +0000 (08:28 +0200)
committerwwp <subscript@free.fr>
Tue, 5 Oct 2021 06:28:55 +0000 (08:28 +0200)
src/folder.c

index 6383fc795b7b4aa2716f25e8f4853dd6b2e0f991..c763eaf384a11aeeecc8d336291147b254886dbc 100644 (file)
@@ -3390,7 +3390,7 @@ gint folder_item_move_to(FolderItem *src, FolderItem *dest, FolderItem **new_ite
                if (src_identifier)
                        g_free(src_identifier);
                if (dst_identifier)
-                       g_free(src_identifier);
+                       g_free(dst_identifier);
                return F_MOVE_FAILED;
        }