Blame SOURCES/0122-extdom-fix-memory-leak.patch
|
|
0201d8 |
From a19a8e4174560ca6c7a23aa821c14713415b4c5d Mon Sep 17 00:00:00 2001
|
|
|
0201d8 |
From: Sumit Bose <sbose@redhat.com>
|
|
|
0201d8 |
Date: Wed, 4 Mar 2015 17:53:08 +0100
|
|
|
0201d8 |
Subject: [PATCH] extdom: fix memory leak
|
|
|
0201d8 |
|
|
|
0201d8 |
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
|
|
|
0201d8 |
---
|
|
|
0201d8 |
daemons/ipa-slapi-plugins/ipa-extdom-extop/ipa_extdom_extop.c | 1 +
|
|
|
0201d8 |
1 file changed, 1 insertion(+)
|
|
|
0201d8 |
|
|
|
0201d8 |
diff --git a/daemons/ipa-slapi-plugins/ipa-extdom-extop/ipa_extdom_extop.c b/daemons/ipa-slapi-plugins/ipa-extdom-extop/ipa_extdom_extop.c
|
|
|
0201d8 |
index 1ea0c1320accc66235d6f1a41055de434aeacab7..dc7785877fc321ddaa5b6967d1c1b06cb454bbbf 100644
|
|
|
0201d8 |
--- a/daemons/ipa-slapi-plugins/ipa-extdom-extop/ipa_extdom_extop.c
|
|
|
0201d8 |
+++ b/daemons/ipa-slapi-plugins/ipa-extdom-extop/ipa_extdom_extop.c
|
|
|
0201d8 |
@@ -154,6 +154,7 @@ done:
|
|
|
0201d8 |
LOG("%s", err_msg);
|
|
|
0201d8 |
}
|
|
|
0201d8 |
slapi_send_ldap_result(pb, rc, NULL, err_msg, 0, NULL);
|
|
|
0201d8 |
+ ber_bvfree(ret_val);
|
|
|
0201d8 |
return SLAPI_PLUGIN_EXTENDED_SENT_RESULT;
|
|
|
0201d8 |
}
|
|
|
0201d8 |
|
|
|
0201d8 |
--
|
|
|
0201d8 |
2.1.0
|
|
|
0201d8 |
|