summaryrefslogtreecommitdiffstats
path: root/cython/imobiledevice.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'cython/imobiledevice.pyx')
-rw-r--r--cython/imobiledevice.pyx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cython/imobiledevice.pyx b/cython/imobiledevice.pyx
index 77a7a3a..bde43d0 100644
--- a/cython/imobiledevice.pyx
+++ b/cython/imobiledevice.pyx
@@ -172,8 +172,8 @@ cdef class iDevice(Base):
172 172
173cdef extern from *: 173cdef extern from *:
174 ctypedef char* const_char_ptr "const char*" 174 ctypedef char* const_char_ptr "const char*"
175 void free(void *ptr) 175
176 void plist_free(plist.plist_t node) 176cimport stdlib
177 177
178cdef class BaseService(Base): 178cdef class BaseService(Base):
179 __service_name__ = None 179 __service_name__ = None
@@ -191,7 +191,7 @@ cdef class PropertyListService(BaseService):
191 self.handle_error(err) 191 self.handle_error(err)
192 except BaseError, e: 192 except BaseError, e:
193 if c_node != NULL: 193 if c_node != NULL:
194 plist_free(c_node) 194 plist.plist_free(c_node)
195 raise 195 raise
196 196
197 return plist.plist_t_to_node(c_node) 197 return plist.plist_t_to_node(c_node)