Skip to content
Snippets Groups Projects
Commit d6e3c930 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

memory hanling cleanup

parent 7011c4f3
No related branches found
No related tags found
No related merge requests found
......@@ -527,7 +527,8 @@ rwm_search( Operation *op, SlapReply *rs )
goto error_return;
}
cb = (slap_callback *)ch_malloc( sizeof( slap_callback ) );
cb = (slap_callback *) op->o_tmpcalloc( sizeof( slap_callback ),
1, op->o_tmpmemctx );
if ( cb == NULL ) {
rc = LDAP_NO_MEMORY;
goto error_return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment