[Zodb-checkins] CVS: Zope3/src/persistence - persistence.c:1.8

Jeremy Hylton jeremy@zope.com
Wed, 2 Apr 2003 16:02:42 -0500


Update of /cvs-repository/Zope3/src/persistence
In directory cvs.zope.org:/tmp/cvs-serv10551

Modified Files:
	persistence.c 
Log Message:
decref the descriptor, because SetItem will create a new reference.


=== Zope3/src/persistence/persistence.c 1.7 => 1.8 ===
--- Zope3/src/persistence/persistence.c:1.7	Fri Mar 21 16:03:07 2003
+++ Zope3/src/persistence/persistence.c	Wed Apr  2 16:02:42 2003
@@ -834,6 +834,7 @@
 	    Py_DECREF(new);
 	    return NULL;
 	}
+	Py_DECREF(descr);
     }
 
     return (PyObject *)new;