* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: client.c,v 1.115 2000/09/22 00:13:03 gson Exp $ */
+/* $Id: client.c,v 1.116 2000/09/26 22:09:18 bwelling Exp $ */
#include <config.h>
MTRACE("clientmgr_destroy");
+ DESTROYLOCK(&manager->lock);
manager->magic = 0;
isc_mem_put(manager->mctx, manager, sizeof *manager);
}
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: dispatch.c,v 1.70 2000/09/19 06:59:28 marka Exp $ */
+/* $Id: dispatch.c,v 1.71 2000/09/26 22:09:20 bwelling Exp $ */
#include <config.h>
if (disp->qid != NULL)
qid_destroy(mgr->mctx, &disp->qid);
disp->mgr = NULL;
+ DESTROYLOCK(&disp->lock);
disp->magic = 0;
isc_mempool_put(mgr->dpool, disp);
}