Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/pyao/files: pyao-fix-deallocation.patch
Date: Thu, 23 Apr 2009 13:05:07
Message-Id: E1Lwybx-0001RF-0Y@stork.gentoo.org
1 patrick 09/04/23 13:05:05
2
3 Added: pyao-fix-deallocation.patch
4 Log:
5 Small fix for >=python-2.5. Thanks to gilhad for the patch. Fixes #257550
6 (Portage version: 2.2_rc31/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 dev-python/pyao/files/pyao-fix-deallocation.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyao/files/pyao-fix-deallocation.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyao/files/pyao-fix-deallocation.patch?rev=1.1&content-type=text/plain
13
14 Index: pyao-fix-deallocation.patch
15 ===================================================================
16 diff -ru pyao-0.82/src/aomodule.c pyao-0.82.ok/src/aomodule.c
17 --- pyao-0.82/src/aomodule.c 2003-07-24 08:52:59.000000000 +0200
18 +++ pyao-0.82.ok/src/aomodule.c 2009-02-04 03:22:17.000000000 +0100
19 @@ -150,7 +150,7 @@
20 py_ao_dealloc(ao_Object *self)
21 {
22 ao_close(self->dev);
23 - PyMem_DEL(self);
24 + PyObject_FREE(self);
25 }
26
27 static PyObject *