mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Plug memleak when query isn't added to cache
This commit is contained in:
parent
7ce9e7b7c6
commit
a393b68656
@ -1109,6 +1109,9 @@ pcache_response(
|
|||||||
}
|
}
|
||||||
ldap_pvt_thread_mutex_unlock( &slapd_rq.rq_mutex );
|
ldap_pvt_thread_mutex_unlock( &slapd_rq.rq_mutex );
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
free( si->query.attrs );
|
||||||
|
filter_free( si->query.filter );
|
||||||
}
|
}
|
||||||
|
|
||||||
/* free self */
|
/* free self */
|
||||||
|
Loading…
Reference in New Issue
Block a user