Commit ae61f3dc authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Memory leak in referral code (ITS#596)

Apply patch from Steve Sonntag <vtag@novell.com>
parent 0c484042
......@@ -464,6 +464,15 @@ try_read1msg(
}
}
}
if( lr->lr_res_matched != NULL ) {
LDAP_FREE( lr->lr_res_matched );
lr->lr_res_matched = NULL;
}
if( lr->lr_res_error != NULL ) {
LDAP_FREE( lr->lr_res_error );
lr->lr_res_error = NULL;
}
}
}
}
......
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