Skip to content
Snippets Groups Projects
Commit 273ba695 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

make sure o_csn is freed

parent 02e14e9c
No related branches found
No related tags found
No related merge requests found
......@@ -111,6 +111,11 @@ slap_op_free( Operation *op, void *ctx )
}
#endif /* defined( LDAP_SLAPI ) */
if ( !BER_BVISNULL( &op->o_csn ) ) {
op->o_tmpfree( op->o_csn.bv_val, op->o_tmpmemctx );
BER_BVZERO( &op->o_csn );
}
opbuf = (OperationBuffer *) op;
memset( opbuf, 0, sizeof(*opbuf) );
op->o_hdr = &opbuf->ob_hdr;
......
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