From: Pierangelo Masarati Date: Thu, 21 Nov 2002 20:21:22 +0000 (+0000) Subject: seems to be leaking a ber X-Git-Tag: NO_SLAP_OP_BLOCKS~784 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2b639068b6224f837b59baf101cf4576af16c051;p=openldap seems to be leaking a ber --- diff --git a/servers/slapd/back-bdb/search.c b/servers/slapd/back-bdb/search.c index 1f558f1fb5..3083981d2b 100644 --- a/servers/slapd/back-bdb/search.c +++ b/servers/slapd/back-bdb/search.c @@ -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 ); }