]> git.sur5r.net Git - openldap/commitdiff
More ITS#6215: Fix wrong fix in rev 1.121
authorHallvard Furuseth <hallvard@openldap.org>
Fri, 7 Aug 2009 16:04:25 +0000 (16:04 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Fri, 7 Aug 2009 16:04:25 +0000 (16:04 +0000)
libraries/liblber/decode.c

index 4022f3f11486692349bb0ec4572cee6930771343..0850463c6e20e3a76ccd336a43f56a4af0130ff6 100644 (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 );