Skip to content

Commit 2395cff

Browse files
committed
dnd: Free path_str in the get_data_binder() functions.
Ref: 184204a.
1 parent d0185b8 commit 2395cff

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

libnemo-private/nemo-icon-dnd.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,7 @@ icon_get_data_binder (NemoIcon *icon, gpointer data)
320320
context->iteratee_data);
321321

322322
g_free (uri);
323+
g_free (path_str);
323324

324325
return TRUE;
325326
}

src/nemo-list-model.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -949,6 +949,7 @@ each_path_get_data_binder (NemoDragEachSelectedItemDataGet data_get,
949949
data);
950950

951951
g_free (uri);
952+
g_free (path_str);
952953

953954
nemo_file_unref (file);
954955
}

0 commit comments

Comments
 (0)