diff --git a/servers/slapd/overlays/pcache.c b/servers/slapd/overlays/pcache.c index c8cae4d85c..2900f254b5 100644 --- a/servers/slapd/overlays/pcache.c +++ b/servers/slapd/overlays/pcache.c @@ -1109,6 +1109,9 @@ pcache_response( } ldap_pvt_thread_mutex_unlock( &slapd_rq.rq_mutex ); } + } else { + free( si->query.attrs ); + filter_free( si->query.filter ); } /* free self */