From 611446d61f5ddb6932c397d89937092fc96078bc Mon Sep 17 00:00:00 2001 From: Theo Linkspfeifer Date: Tue, 12 May 2020 09:47:50 +0200 Subject: [PATCH] Fix crash in bulk renamer on repeated rename (Bug #16824) --- thunar/thunar-renamer-progress.c | 1 + 1 file changed, 1 insertion(+) diff --git a/thunar/thunar-renamer-progress.c b/thunar/thunar-renamer-progress.c index ef628b3e..57230000 100644 --- a/thunar/thunar-renamer-progress.c +++ b/thunar/thunar-renamer-progress.c @@ -361,6 +361,7 @@ thunar_renamer_progress_run (ThunarRenamerProgress *renamer_progress, /* make sure to release the list of completed items first */ thunar_renamer_pair_list_free (renamer_progress->pairs_done); renamer_progress->pairs_done = NULL; + renamer_progress->n_pairs_done = 0; /* set the pairs on the todo list */ thunar_renamer_pair_list_free (renamer_progress->pairs_todo); -- 2.26.2