Plug memleak when query isn't added to cache

This commit is contained in:
Howard Chu 2006-01-09 18:00:11 +00:00
parent 7ce9e7b7c6
commit a393b68656

View File

@ -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 */