Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
polkit
polkit-memleak.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File polkit-memleak.patch of Package polkit
From 58f8c06caf7abec48e500e4a9669a1690aa01109 Mon Sep 17 00:00:00 2001 From: David Zeuthen <davidz@redhat.com> Date: Wed, 23 Feb 2011 15:49:14 +0000 Subject: Fix a memory leak Signed-off-by: David Zeuthen <davidz@redhat.com> --- diff --git a/src/polkit/polkitactiondescription.c b/src/polkit/polkitactiondescription.c index 0391efd..4bd9604 100644 --- a/src/polkit/polkitactiondescription.c +++ b/src/polkit/polkitactiondescription.c @@ -316,6 +316,8 @@ polkit_action_description_new (const gchar *action_id, ret->implicit_any = implicit_any; ret->implicit_inactive = implicit_inactive; ret->implicit_active = implicit_active; + if (ret->annotations != NULL) + g_hash_table_unref (ret->annotations); ret->annotations = g_hash_table_ref (annotations); return ret; } -- cgit v0.8.3-6-g21f6
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor