[SSSD] [PATCH] Do not leak hash table iterator during proxy auth

Jakub Hrozek jhrozek at redhat.com
Tue Oct 25 12:39:22 UTC 2011


This was reported by a customer using proxy authentication.
-------------- next part --------------
From 57618b54fdd992cdf9df47f4a9996c346e2da8d8 Mon Sep 17 00:00:00 2001
From: Jakub Hrozek <jhrozek at redhat.com>
Date: Tue, 25 Oct 2011 14:26:21 +0200
Subject: [PATCH] Do not leak hash table iterator during proxy auth

---
 src/providers/proxy/proxy_auth.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/providers/proxy/proxy_auth.c b/src/providers/proxy/proxy_auth.c
index b3b878c..afd1fb6 100644
--- a/src/providers/proxy/proxy_auth.c
+++ b/src/providers/proxy/proxy_auth.c
@@ -798,6 +798,7 @@ static void run_proxy_child_queue(struct tevent_context *ev,
             break;
         }
     }
+    free(iter);
 
     if (!entry) {
         /* Nothing pending on the queue */
-- 
1.7.6.4



More information about the sssd-devel mailing list