spack/var/spack/repos/builtin/packages/alsa-lib/python.patch
Toyohisa Kameyama 76142124d2
alsa-lib: Add new version and python dependency. (#16905)
Add version 1.2.2.
Add conditional python dependency.
Add patch for 1.1.4.1 and python.
2020-06-02 14:23:14 -07:00

21 lines
526 B
Diff

diff --git a/modules/mixer/simple/python.c b/modules/mixer/simple/python.c
index c822c52a..917a5d0a 100644
--- a/modules/mixer/simple/python.c
+++ b/modules/mixer/simple/python.c
@@ -588,7 +588,6 @@
pymelem_dealloc(struct pymelem *self)
{
selem_free(self->melem);
- self->ob_type->tp_free(self);
}
static PyGetSetDef pymelem_getseters[] = {
@@ -800,7 +799,6 @@
pymixer_dealloc(struct pymixer *self)
{
pymixer_free(self);
- self->ob_type->tp_free(self);
}
static PyGetSetDef pymixer_getseters[] = {