summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimo@endlessm.com>2015-11-16 13:51:02 -0800
committerCosimo Cecchi <cosimoc@gnome.org>2015-12-02 12:34:02 +0100
commit7dd555a02676fd924da2a4094d599bb41dd45dbf (patch)
tree19e0d8fd3d69e9b80d18fb3ceaa7d345632dc277
parentfef884922c1454811c61cdfb7d4de7909591650f (diff)
downloadnautilus-7dd555a02676fd924da2a4094d599bb41dd45dbf.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;
}