From 6b53b4c507ddac11f6c6d9650da16a34b0d93e03 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 24 Oct 2002 23:51:34 +0000 Subject: [PATCH] Plug memleak in previous commit --- libraries/libldap/result.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/libldap/result.c b/libraries/libldap/result.c index 574ff9449a..2695143365 100644 --- a/libraries/libldap/result.c +++ b/libraries/libldap/result.c @@ -484,6 +484,7 @@ retry2: #endif retry_ber: if ( ber_sockbuf_ctrl( sb, LBER_SB_OPT_DATA_READY, NULL ) ) { + ber_free_buf( ber ); ber_init2( ber, NULL, ld->ld_lberoptions ); goto retry2; } -- 2.39.5