summaryrefslogtreecommitdiff
path: root/p11-kit/proxy.c
diff options
context:
space:
mode:
authorPankaj Sharma <pankaj.cscience@gmail.com>2012-12-24 08:49:00 +0000
committerStef Walter <stefw@gnome.org>2013-01-09 13:46:33 +0100
commitc343f355b6abfe65adc696b57b18dc57c834acbc (patch)
tree2f5930dc12430a2706ec9d0bc4e235c84730c596 /p11-kit/proxy.c
parent8b4c3561d9681096d588d599d049a77bea68470b (diff)
downloadp11-kit-c343f355b6abfe65adc696b57b18dc57c834acbc.tar.gz
Fix leak when initializing the proxy module
https://bugs.freedesktop.org/show_bug.cgi?id=58704
Diffstat (limited to 'p11-kit/proxy.c')
-rw-r--r--p11-kit/proxy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/p11-kit/proxy.c b/p11-kit/proxy.c
index a4b947a..c8ba593 100644
--- a/p11-kit/proxy.c
+++ b/p11-kit/proxy.c
@@ -280,6 +280,8 @@ initialize_mappings_unlocked_reentrant (void)
free (slots);
}
+ free (funcss);
+
/* Another thread raced us here due to above reentrancy */
if (gl.mappings) {
free (mappings);