[packagekit] packagekit: Branch 'master'

Richard Hughes hughsient at kemper.freedesktop.org
Sun Nov 4 15:44:12 PST 2007


 src/pk-backend.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 4c651b7b0ccfab493208dc85d47884ca602805f2
Author: Richard Hughes <richard at hughsie.com>
Date:   Sun Nov 4 23:40:24 2007 +0000

    don't double free

diff --git a/src/pk-backend.c b/src/pk-backend.c
index 8ee1b6a..dd408a1 100644
--- a/src/pk-backend.c
+++ b/src/pk-backend.c
@@ -1758,10 +1758,9 @@ pk_backend_finalize (GObject *object)
 	}
 
 	pk_debug ("freeing %s (%p)", backend->priv->name, backend);
-	g_free (backend->priv->name);
-	g_free (backend->priv->last_package);
 	pk_backend_unload (backend);
 
+	g_free (backend->priv->last_package);
 	g_free (backend->priv->xcached_package_id);
 	g_free (backend->priv->xcached_transaction_id);
 	g_free (backend->priv->xcached_filter);



More information about the PackageKit mailing list