[nautilus] mime-actions: fix double free in error path
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] mime-actions: fix double free in error path
- Date: Mon, 16 Nov 2015 22:00:43 +0000 (UTC)
commit 7317253e1bd9f154c693bd5b00fba81bb69ac09d
Author: Cosimo Cecchi <cosimo endlessm com>
Date: Mon Nov 16 13:51:02 2015 -0800
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.
src/nautilus-mime-actions.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-mime-actions.c b/src/nautilus-mime-actions.c
index a55469a..9237cd5 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]