From: Hallvard Furuseth Date: Fri, 7 Aug 2009 16:04:25 +0000 (+0000) Subject: More ITS#6215: Fix wrong fix in rev 1.121 X-Git-Tag: ACLCHECK_0~355 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=95fbdcab4e69f3b509b5ee0d50af1cedbf0aee1d;p=openldap More ITS#6215: Fix wrong fix in rev 1.121 --- diff --git a/libraries/liblber/decode.c b/libraries/liblber/decode.c index 4022f3f114..0850463c6e 100644 --- a/libraries/liblber/decode.c +++ b/libraries/liblber/decode.c @@ -910,7 +910,7 @@ ber_scanf ( BerElement *ber, case 'M': /* BVoff array in-place */ bvp = va_arg( ap, struct berval ** ); - ber_memfree_x( bvp, ber->ber_memctx ); + ber_memfree_x( *bvp, ber->ber_memctx ); *bvp = NULL; *(va_arg( ap, ber_len_t * )) = 0; (void) va_arg( ap, ber_len_t );