Commit f57dd030 authored by Bryan Forbes's avatar Bryan Forbes Committed by Nikias Bassen

Removed a call to __dealloc__ and added initialization of _array.

parent 2ca52d65
......@@ -461,7 +461,6 @@ cdef class Dict(Node):
def __dealloc__(self):
self._map = None
Node.__dealloc__(self)
def __richcmp__(self, other, op):
cdef dict d = self.get_value()
......@@ -564,6 +563,7 @@ cdef class Array(Node):
self._init()
cdef void _init(self):
self._array = []
cdef uint32_t size = plist_array_get_size(self._c_node)
cdef plist_t subnode = NULL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment