Public feed #721644

Diff

public text v1 · immutable
Raw Edit
·published 2007-10-01 13:09 UTC
rendered paste body
diff -r 1e8249c58fda src/core/object.cc--- a/src/core/object.cc	Fri Sep 28 17:13:20 2007 +0100+++ b/src/core/object.cc	Mon Oct 01 14:09:04 2007 +0100@@ -272,7 +272,16 @@ bool bool  Object::Check (void) const {-  return (m_count > 0);+  uint32_t refcount = 0;+  const Object *current = this;+  do+    {+      refcount = current->m_count+        current = current->m_next;+    }+  while (current != this);++  return (refcount > 0); }  void