summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimo@endlessm.com>2015-11-16 13:51:02 -0800
committerCosimo Cecchi <cosimoc@gnome.org>2015-11-16 13:59:12 -0800
commit7317253e1bd9f154c693bd5b00fba81bb69ac09d (patch)
tree8a20cd31ed052fec1e8bbfb9237106be513510b0
parent12dedcc4100ea01b2639be5d4f46a87fe171ad86 (diff)
downloadnautilus-7317253e1bd9f154c693bd5b00fba81bb69ac09d.tar.gz
mime-actions: fix double free in error path
The "unhelpful error dialog" code already takes care of freeing the activation parameters. Make sure it does not do that twice.
-rw-r--r--src/nautilus-mime-actions.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nautilus-mime-actions.c b/src/nautilus-mime-actions.c
index a55469ac9..9237cd5b9 100644
--- a/src/nautilus-mime-actions.c
+++ b/src/nautilus-mime-actions.c
@@ -1173,8 +1173,6 @@ pk_proxy_appeared_cb (GObject *source,
/* show an unhelpful dialog */
show_unhandled_type_error (parameters_install);
- /* The callback wasn't started, so we have to free the parameters */
- activate_parameters_install_free (parameters_install);
return;
}