Pushed the attached patch under the oneliner rule.
--
Simo Sorce * Red Hat, Inc * New York
>From 9f07404fe3f426cb45896dc5e71fbd0492fb8ea3 Mon Sep 17 00:00:00 2001
From: Simo Sorce <[email protected]>
Date: Fri, 21 Oct 2011 12:43:30 -0400
Subject: [PATCH] ipa-kdb: Fix memory leak
---
daemons/ipa-kdb/ipa_kdb.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/daemons/ipa-kdb/ipa_kdb.c b/daemons/ipa-kdb/ipa_kdb.c
index 880a7890b6814290e6139c1685b88aced8ce6867..6a6c2063902f8b2a76d97f3510f09333c5af168d 100644
--- a/daemons/ipa-kdb/ipa_kdb.c
+++ b/daemons/ipa-kdb/ipa_kdb.c
@@ -262,6 +262,7 @@ int ipadb_get_connection(struct ipadb_context *ipactx)
ret = 0;
done:
+ ldap_msgfree(res);
if (ret) {
if (ipactx->lcontext) {
ldap_unbind_ext_s(ipactx->lcontext, NULL, NULL);
--
1.7.6.4
_______________________________________________
Freeipa-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/freeipa-devel