]> git.sur5r.net Git - openldap/commitdiff
patch for ITS#3296 - do not use sl_malloc on normalized attr values
authorJong Hyuk Choi <jongchoi@openldap.org>
Tue, 31 Aug 2004 13:47:33 +0000 (13:47 +0000)
committerJong Hyuk Choi <jongchoi@openldap.org>
Tue, 31 Aug 2004 13:47:33 +0000 (13:47 +0000)
servers/slapd/schema_init.c

index 03672e7fe1a0d7f4560b972819832a166cf660b0..b648d5b12303201837b0067a4679cccf64978a6b 100644 (file)
@@ -1977,7 +1977,7 @@ UUIDNormalize(
        int i;
        int j;
        normalized->bv_len = 16;
-       normalized->bv_val = slap_sl_malloc( normalized->bv_len+1, ctx );
+       normalized->bv_val = ch_malloc( normalized->bv_len + 1 );
 
        for( i=0, j=0; i<36; i++ ) {
                unsigned char nibble;