diff options
author | Carlos Soriano <csoriano@gnome.org> | 2016-09-16 10:02:46 +0200 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2016-09-16 10:02:46 +0200 |
commit | 4bf6a555a8b53f6e2f29cfc0dec43c72eba4c669 (patch) | |
tree | 0405bd1b6807388c450aeea515b75408a719ec4c | |
parent | 7cd64359e14c234630010836c13cda2bfdef8079 (diff) | |
download | nautilus-4bf6a555a8b53f6e2f29cfc0dec43c72eba4c669.tar.gz |
batch-rename-dialog: use clear_object to avoid use after free
-rw-r--r-- | src/nautilus-batch-rename-dialog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-batch-rename-dialog.c b/src/nautilus-batch-rename-dialog.c index c71ed54ac..59a15a125 100644 --- a/src/nautilus-batch-rename-dialog.c +++ b/src/nautilus-batch-rename-dialog.c @@ -2010,7 +2010,7 @@ nautilus_batch_rename_dialog_finalize (GObject *object) if (dialog->checking_conflicts) { g_cancellable_cancel (dialog->conflict_cancellable); - g_object_unref (dialog->conflict_cancellable); + g_clear_object (&dialog->conflict_cancellable); } g_list_free (dialog->original_name_listbox_rows); |