[gedit] spell-checker-dialog: free misspelled_word only in finalize
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] spell-checker-dialog: free misspelled_word only in finalize
- Date: Fri, 24 Jul 2015 17:08:52 +0000 (UTC)
commit ee220935bea5dae783f04b39f84bb0df640e5c32
Author: Sébastien Wilmet <swilmet gnome org>
Date: Fri Jul 24 18:15:22 2015 +0200
spell-checker-dialog: free misspelled_word only in finalize
plugins/spell/gedit-spell-checker-dialog.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/plugins/spell/gedit-spell-checker-dialog.c b/plugins/spell/gedit-spell-checker-dialog.c
index ae3f2c7..84d3e2c 100644
--- a/plugins/spell/gedit-spell-checker-dialog.c
+++ b/plugins/spell/gedit-spell-checker-dialog.c
@@ -99,12 +99,6 @@ gedit_spell_checker_dialog_dispose (GObject *object)
g_clear_object (&dialog->spell_checker);
- if (dialog->misspelled_word != NULL)
- {
- g_free (dialog->misspelled_word);
- dialog->misspelled_word = NULL;
- }
-
G_OBJECT_CLASS (gedit_spell_checker_dialog_parent_class)->dispose (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]