]> git.sur5r.net Git - openldap/commitdiff
plug memleak in alternate print_entry()
authorHoward Chu <hyc@openldap.org>
Mon, 12 May 2003 14:29:35 +0000 (14:29 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 12 May 2003 14:29:35 +0000 (14:29 +0000)
clients/tools/ldapsearch.c

index daebef8ef5bf46828339fe24c3a3ae41e194c4b2..ec219867ec284aebc1c36e22ee8bd26c98ce07d3 100644 (file)
@@ -1367,7 +1367,7 @@ print_entry(
                                                bvals[ i ].bv_val, bvals[ i ].bv_len );
                                }
                        }
-                       ber_memfree( bvals );
+                       ber_bvarray_free( bvals );
                }
        }