#4295 ipa-pwd-extop: slapi entry not freed on each unsuccessful OTP bind
Closed: Fixed None Opened 10 years ago by tbabej.

Memory leak.

     /* Try to do OTP first. */
     syncreq = sync_request_present(pb);
     if (!syncreq && !ipapwd_pre_bind_otp(dn, entry, credentials)) {
+        slapi_entry_free(entry);
         slapi_send_ldap_result(pb, LDAP_INVALID_CREDENTIALS,
                                NULL, NULL, 0, NULL);
         return 1;


  • 5a0d52b ipa-pwd-extop: Fix memory leak in ipapwd_pre_bind

Metadata Update from @tbabej:
- Issue assigned to tbabej
- Issue set to the milestone: FreeIPA 4.0 - 2014/04

7 years ago

Log in to comment on this ticket.