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

Fix rev 1.270: free def_urlpre correctly. Also free urlpre.

parent f6622d70
No related branches found
No related tags found
No related merge requests found
......@@ -1341,8 +1341,10 @@ getNextPage:
if ( derefval.bv_val != NULL ) {
ldap_memfree( derefval.bv_val );
}
if ( def_urlpre != NULL ) {
ber_memfree( def_urlpre );
if ( urlpre != NULL ) {
if ( def_urlpre != urlpre )
free( def_urlpre );
free( urlpre );
}
if ( c ) {
......@@ -1897,4 +1899,3 @@ static int print_result(
return err;
}
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