From: Jong Hyuk Choi Date: Tue, 31 Aug 2004 13:47:33 +0000 (+0000) Subject: patch for ITS#3296 - do not use sl_malloc on normalized attr values X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~589 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e6df94946dbee4c7fee28fa3791a755701ab7014;p=openldap patch for ITS#3296 - do not use sl_malloc on normalized attr values --- diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index 03672e7fe1..b648d5b123 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -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;