public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-python/pyao/files: pyao-fix-deallocation.patch
@ 2009-04-23 13:05 Patrick Lauer (patrick)
  0 siblings, 0 replies; only message in thread
From: Patrick Lauer (patrick) @ 2009-04-23 13:05 UTC (permalink / raw
  To: gentoo-commits

patrick     09/04/23 13:05:05

  Added:                pyao-fix-deallocation.patch
  Log:
  Small fix for >=python-2.5. Thanks to gilhad for the patch. Fixes #257550
  (Portage version: 2.2_rc31/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-python/pyao/files/pyao-fix-deallocation.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyao/files/pyao-fix-deallocation.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pyao/files/pyao-fix-deallocation.patch?rev=1.1&content-type=text/plain

Index: pyao-fix-deallocation.patch
===================================================================
diff -ru pyao-0.82/src/aomodule.c pyao-0.82.ok/src/aomodule.c
--- pyao-0.82/src/aomodule.c	2003-07-24 08:52:59.000000000 +0200
+++ pyao-0.82.ok/src/aomodule.c	2009-02-04 03:22:17.000000000 +0100
@@ -150,7 +150,7 @@
 py_ao_dealloc(ao_Object *self)
 {
   ao_close(self->dev);
-  PyMem_DEL(self);
+  PyObject_FREE(self);
 }
 
 static PyObject *






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-23 13:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-23 13:05 [gentoo-commits] gentoo-x86 commit in dev-python/pyao/files: pyao-fix-deallocation.patch Patrick Lauer (patrick)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox