File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ Released 2.4.40 2017-06-xx
3
3
4
4
Changes since 2.4.39:
5
5
6
+ Modules/
7
+ * fixed memory leaks when using extended controls
8
+ (thanks to Erik Cumps)
9
+
6
10
----------------------------------------------------------------
7
11
Released 2.4.39 2017-05-31
8
12
@@ -1448,4 +1452,4 @@ Released 2.0.0pre02 2002-02-01
1448
1452
----------------------------------------------------------------
1449
1453
Released 1.10alpha3 2000-09-19
1450
1454
1451
- $Id: CHANGES,v 1.448 2017/06/23 07:16:26 stroeder Exp $
1455
+ $Id: CHANGES,v 1.449 2017/06/23 18:09:59 stroeder Exp $
Original file line number Diff line number Diff line change 1
1
/* See http://www.python-ldap.org/ for details.
2
- * $Id: ldapcontrol.c,v 1.20 2011/10/26 18:38:06 stroeder Exp $ */
2
+ * $Id: ldapcontrol.c,v 1.21 2017/06/23 18:09:59 stroeder Exp $ */
3
3
4
4
#include "common.h"
5
5
#include "LDAPObject.h"
@@ -231,6 +231,7 @@ encode_rfc3876(PyObject *self, PyObject *args)
231
231
}
232
232
233
233
res = LDAPberval_to_object (ctrl_val );
234
+ ber_bvfree (ctrl_val );
234
235
235
236
endlbl :
236
237
if (vrber )
@@ -287,6 +288,7 @@ encode_rfc2696(PyObject *self, PyObject *args)
287
288
}
288
289
289
290
res = LDAPberval_to_object (ctrl_val );
291
+ ber_bvfree (ctrl_val );
290
292
291
293
endlbl :
292
294
if (ber )
@@ -324,6 +326,7 @@ decode_rfc2696(PyObject *self, PyObject *args)
324
326
}
325
327
326
328
res = Py_BuildValue ("(lO&)" , count , LDAPberval_to_object , cookiep );
329
+ ber_bvfree (cookiep );
327
330
328
331
endlbl :
329
332
if (ber )
You can’t perform that action at this time.
0 commit comments