diff options
| author | 2013-06-27 14:55:25 -0400 | |
|---|---|---|
| committer | 2013-07-01 13:32:45 +0200 | |
| commit | ef73e32751e86eca9ae34160708233da401a3297 (patch) | |
| tree | 62eff3b539def953fb7e829915845601b2cd825a /cython/afc.pxi | |
| parent | 07ecbf3bf8fada55dbadb5811284dfd09d15e17c (diff) | |
| download | libimobiledevice-ef73e32751e86eca9ae34160708233da401a3297.tar.gz libimobiledevice-ef73e32751e86eca9ae34160708233da401a3297.tar.bz2 | |
cython: Remove erroneous free()
Diffstat (limited to 'cython/afc.pxi')
| -rw-r--r-- | cython/afc.pxi | 2 |
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): | |||
| 161 | self.handle_error(afc_file_write(self._client._c_client, self._c_handle, c_data, len(data), &bytes_written)) | 161 | self.handle_error(afc_file_write(self._client._c_client, self._c_handle, c_data, len(data), &bytes_written)) |
| 162 | except BaseError, e: | 162 | except BaseError, e: |
| 163 | raise | 163 | raise |
| 164 | finally: | ||
| 165 | free(c_data) | ||
| 166 | 164 | ||
| 167 | return bytes_written | 165 | return bytes_written |
| 168 | 166 | ||
