1
0
mirror of https://github.com/arsenetar/send2trash.git synced 2024-12-21 10:59:03 +00:00

v1.0.1: Fixed memory leak.

This commit is contained in:
Virgil Dupras 2010-04-19 11:24:06 +02:00
parent a3e41602cf
commit de898fdcaa
3 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Version 1.0.1 -- 2010/04/19
---
* Fixed memory leak in OS X module.
Version 1.0.0 -- 2010/04/07
---

View File

@ -21,6 +21,7 @@ static PyObject* send2trash_osx_send(PyObject *self, PyObject *args)
FSPathMakeRefWithOptions(utf8_chars, kFSPathMakeRefDoNotFollowLeafSymlink, &fp, NULL);
op_result = FSMoveObjectToTrashSync(&fp, NULL, kFSFileOperationDefaultOptions);
PyMem_Free(utf8_chars);
if (op_result != noErr) {
PyErr_SetString(PyExc_OSError, GetMacOSStatusCommentString(op_result));
return NULL;

View File

@ -21,7 +21,7 @@ if sys.platform == 'win32':
setup(
name='Send2Trash',
version='1.0.0',
version='1.0.1',
author='Hardcoded Software',
author_email='hsoft@hardcoded.net',
packages=['send2trash'],