diff options
author | rbuj <[email protected]> | 2020-11-26 10:11:02 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-12-04 21:49:30 +0100 |
commit | c64d748d59bd58af206553823598c191e7237b19 (patch) | |
tree | edf5a21c685c61f36b42a2fcfe16b20fd96e8848 | |
parent | 44f8efa091541b06133852a57bc0e27ba9c1e90e (diff) | |
download | caja-extensions-c64d748d59bd58af206553823598c191e7237b19.tar.bz2 caja-extensions-c64d748d59bd58af206553823598c191e7237b19.tar.xz |
caja-sendto-command: use g_list_free_full
-rw-r--r-- | sendto/caja-sendto-command.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sendto/caja-sendto-command.c b/sendto/caja-sendto-command.c index 8ebf81d..41e44ce 100644 --- a/sendto/caja-sendto-command.c +++ b/sendto/caja-sendto-command.c @@ -315,8 +315,7 @@ send_button_cb (GtkWidget *widget, NS_ui *ui) g_free (f); } else { if (!p->info->send_files (p, w, file_list)) { - g_list_foreach (file_list, (GFunc) g_free, NULL); - g_list_free (file_list); + g_list_free_full (file_list, g_free); file_list = NULL; return; } |