This commit is contained in:
Andreas Gustafsson 2001-02-07 20:03:23 +00:00
parent 23d0a2b591
commit 91f74728a7

View file

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: rwlock.c,v 1.27 2001/01/09 21:56:26 bwelling Exp $ */
/* $Id: rwlock.c,v 1.28 2001/02/07 20:03:23 gson Exp $ */
#include <config.h>
@ -301,6 +301,8 @@ isc_rwlock_unlock(isc_rwlock_t *rwl, isc_rwlocktype_t type) {
REQUIRE(VALID_RWLOCK(rwl));
REQUIRE(rwl->type == type);
UNUSED(type);
INSIST(rwl->active > 0);
rwl->active--;