From 5faa5ef29b74ce7c8b96be49f6930f3705717645 Mon Sep 17 00:00:00 2001 From: Theo Linkspfeifer <lastonestanding@tutanota.com> 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 ef628b3e0..57230000b 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); -- GitLab