]> git.sur5r.net Git - openldap/commitdiff
seems to be leaking a ber
authorPierangelo Masarati <ando@openldap.org>
Thu, 21 Nov 2002 20:21:22 +0000 (20:21 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 21 Nov 2002 20:21:22 +0000 (20:21 +0000)
servers/slapd/back-bdb/search.c

index 1f558f1fb5b204f2b086382d2dfafd44217482c9..3083981d2bdc75c4a471b28c0e2724fe795fcda1 100644 (file)
@@ -1145,6 +1145,7 @@ send_pagerequest_response(
                NULL, NULL, NULL, ctrls, nentries );
 
 done:
+       (void) ber_free( ber, 1 );
        if ( ctrls[0]->ldctl_value.bv_val ) {
                ch_free( ctrls[0]->ldctl_value.bv_val );
        }