diff options
author | Monsta <[email protected]> | 2014-12-17 12:47:48 +0300 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2015-03-13 09:11:46 +0100 |
commit | 8ec02fadf019129b2526d1acfda246ad88790d3e (patch) | |
tree | c4e0e9f75976310ce4583fbf26c7a1208f2e7f2c | |
parent | 881561dba81ad07eed436397feb20e7b48994f1b (diff) | |
download | mate-utils-8ec02fadf019129b2526d1acfda246ad88790d3e.tar.bz2 mate-utils-8ec02fadf019129b2526d1acfda246ad88790d3e.tar.xz |
mate-dictionary: don't free GError more than once
because that error dialog function frees it already
-rw-r--r-- | mate-dictionary/src/gdict-source-dialog.c | 1 | ||||
-rw-r--r-- | mate-dictionary/src/gdict-window.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/mate-dictionary/src/gdict-source-dialog.c b/mate-dictionary/src/gdict-source-dialog.c index 3468011d..792677dd 100644 --- a/mate-dictionary/src/gdict-source-dialog.c +++ b/mate-dictionary/src/gdict-source-dialog.c @@ -477,7 +477,6 @@ gdict_source_dialog_response_cb (GtkDialog *dialog, gdict_show_gerror_dialog (GTK_WINDOW (dialog), _("There was an error while displaying help"), err); - g_error_free (err); } /* we don't want the dialog to close itself */ diff --git a/mate-dictionary/src/gdict-window.c b/mate-dictionary/src/gdict-window.c index 58eae2e4..01679ff2 100644 --- a/mate-dictionary/src/gdict-window.c +++ b/mate-dictionary/src/gdict-window.c @@ -1242,7 +1242,6 @@ gdict_window_cmd_help_contents (GtkAction *action, gdict_show_gerror_dialog (GTK_WINDOW (window), _("There was an error while displaying help"), err); - g_error_free (err); } } |