[nautilus/gnome-3-18] mime-actions: fix double free in error path



commit 7dd555a02676fd924da2a4094d599bb41dd45dbf
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]