diff options
author | Bryan Forbes | 2010-04-13 17:12:50 -0500 |
---|---|---|
committer | Martin Szulecki | 2012-03-20 23:25:55 +0100 |
commit | 7275b8e8b1134c85d6f4b694ad6f515b3a6dace9 (patch) | |
tree | 3ab34f9097528839c2c78b70b659ba7d90cf736c /cython/afc.pxi | |
parent | 360b7316b520baeae11c98cbd6423029141c2137 (diff) | |
download | libimobiledevice-7275b8e8b1134c85d6f4b694ad6f515b3a6dace9.tar.gz libimobiledevice-7275b8e8b1134c85d6f4b694ad6f515b3a6dace9.tar.bz2 |
Use stdlib.free and plist.plist_free.
Diffstat (limited to 'cython/afc.pxi')
-rw-r--r-- | cython/afc.pxi | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cython/afc.pxi b/cython/afc.pxi index 398ea39..9200067 100644 --- a/cython/afc.pxi +++ b/cython/afc.pxi @@ -142,7 +142,7 @@ cdef class AfcFile(Base): except BaseError, e: raise finally: - free(c_data) + stdlib.free(c_data) return bytes_written @@ -186,9 +186,9 @@ cdef class AfcClient(BaseService): while infos[i]: info = infos[i] result.append(info) - free(infos[i]) + stdlib.free(infos[i]) i = i + 1 - free(infos) + stdlib.free(infos) return result @@ -209,9 +209,9 @@ cdef class AfcClient(BaseService): while dir_list[i]: f = dir_list[i] result.append(f) - free(dir_list[i]) + stdlib.free(dir_list[i]) i = i + 1 - free(dir_list) + stdlib.free(dir_list) return result @@ -258,9 +258,9 @@ cdef class AfcClient(BaseService): while c_result[i]: info = c_result[i] result.append(info) - free(c_result[i]) + stdlib.free(c_result[i]) i = i + 1 - free(c_result) + stdlib.free(c_result) return result |