Commit 4040fc39 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

zap ber buf pointer on free.

parent 26d29bb2
......@@ -264,6 +264,7 @@ ber_free( BerElement *ber, int freebuf )
{
if ( freebuf && ber->ber_buf != NULL )
free( ber->ber_buf );
ber->ber_buf = NULL;
free( (char *) ber );
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment