summaryrefslogtreecommitdiffstats
path: root/Objects/dictobject.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-03-23 19:17:00 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-03-23 19:17:00 (GMT)
commit1fba62427cdf51788125386aa3d603c6ae74e7e3 (patch)
tree193050447ac18d397571a89f076ab7f95a414427 /Objects/dictobject.c
parentf8387af2620b2e02ceac856e08786429a913adb5 (diff)
downloadcpython-1fba62427cdf51788125386aa3d603c6ae74e7e3.zip
cpython-1fba62427cdf51788125386aa3d603c6ae74e7e3.tar.gz
cpython-1fba62427cdf51788125386aa3d603c6ae74e7e3.tar.bz2
The tracking statistics were actually too pessimistic
Diffstat (limited to 'Objects/dictobject.c')
-rw-r--r--Objects/dictobject.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/dictobject.c b/Objects/dictobject.c
index 5069c76..931b1fc 100644
--- a/Objects/dictobject.c
+++ b/Objects/dictobject.c
@@ -498,6 +498,7 @@ _PyDict_MaybeUntrack(PyObject *op)
_PyObject_GC_MAY_BE_TRACKED(ep[i].me_key))
return;
}
+ DECREASE_TRACK_COUNT
_PyObject_GC_UNTRACK(op);
}