[gnome-shell] pokit-agent: fix memory leak



commit 4e4092f9e88e68a1da29bd687384e02f5efd476b
Author: Pavel Vasin <rat4vier gmail com>
Date:   Mon Jun 18 21:14:59 2012 +0400

    pokit-agent: fix memory leak
    
    https://bugzilla.gnome.org/show_bug.cgi?id=678406

 src/shell-polkit-authentication-agent.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/shell-polkit-authentication-agent.c b/src/shell-polkit-authentication-agent.c
index 472dea5..e85354a 100644
--- a/src/shell-polkit-authentication-agent.c
+++ b/src/shell-polkit-authentication-agent.c
@@ -230,6 +230,7 @@ auth_request_free (AuthRequest *request)
   g_free (request->message);
   g_free (request->icon_name);
   g_object_unref (request->details);
+  g_free (request->cookie);
   g_list_foreach (request->identities, (GFunc) g_object_unref, NULL);
   g_list_free (request->identities);
   g_object_unref (request->simple);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]