More ITS#6215: Fix wrong fix in rev 1.121

This commit is contained in:
Hallvard Furuseth 2009-08-07 16:04:25 +00:00
parent e229b7c398
commit 95fbdcab4e

View File

@ -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 );