summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dawn K. Isabel2013-06-27 14:55:25 -0400
committerGravatar Martin Szulecki2013-07-01 13:32:45 +0200
commitef73e32751e86eca9ae34160708233da401a3297 (patch)
tree62eff3b539def953fb7e829915845601b2cd825a
parent07ecbf3bf8fada55dbadb5811284dfd09d15e17c (diff)
downloadlibimobiledevice-ef73e32751e86eca9ae34160708233da401a3297.tar.gz
libimobiledevice-ef73e32751e86eca9ae34160708233da401a3297.tar.bz2
cython: Remove erroneous free()
-rw-r--r--cython/afc.pxi2
1 files changed, 0 insertions, 2 deletions
diff --git a/cython/afc.pxi b/cython/afc.pxi
index 1d3b366..abc1180 100644
--- a/cython/afc.pxi
+++ b/cython/afc.pxi
@@ -161,8 +161,6 @@ cdef class AfcFile(Base):
self.handle_error(afc_file_write(self._client._c_client, self._c_handle, c_data, len(data), &bytes_written))
except BaseError, e:
raise
- finally:
- free(c_data)
return bytes_written