- Lock the entry *after* there is the possibility to return.
/*
- * $Id: fqdncache.cc,v 1.136 2000/10/03 22:38:14 wessels Exp $
+ * $Id: fqdncache.cc,v 1.137 2000/10/03 22:57:30 wessels Exp $
*
* DEBUG: section 35 FQDN Cache
* AUTHOR: Harvest Derived
FQDNH *handler = f->handler;
void *handlerData = f->handlerData;
f->lastref = squid_curtime;
- fqdncacheLockEntry(f);
if (NULL == handler)
return;
+ fqdncacheLockEntry(f);
f->handler = NULL;
f->handlerData = NULL;
if (cbdataValid(handlerData)) {