[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r18126: {weather} Mike Perry found a probable locking bug. We double free that (weather/trunk)



Author: ioerror
Date: 2009-01-16 02:26:57 -0500 (Fri, 16 Jan 2009)
New Revision: 18126

Modified:
   weather/trunk/weather.py
Log:
Mike Perry found a probable locking bug. We double free that lock no more!


Modified: weather/trunk/weather.py
===================================================================
--- weather/trunk/weather.py	2009-01-16 02:41:13 UTC (rev 18125)
+++ weather/trunk/weather.py	2009-01-16 07:26:57 UTC (rev 18126)
@@ -162,7 +162,6 @@
     try:
       if antispam.has_key(ip):
         if antispam[ip] == 0:
-          antispam_lock.release()
           return False
         else:
           antispam[ip] -= 1