]> git.alsa-project.org Git - alsa-python.git/commit
hcontrol: fix memory leak
authorClemens Ladisch <clemens@ladisch.de>
Mon, 12 Oct 2009 06:46:53 +0000 (08:46 +0200)
committerClemens Ladisch <clemens@ladisch.de>
Mon, 12 Oct 2009 06:46:53 +0000 (08:46 +0200)
commit866af7359cfbbaa6215190565dcd58222ca441d1
tree8306934cc58219b15ce13ab13c0d4b15e30c7212
parenta5dcdc9a0c2157fd2f89c4166a238b02e5cf2d0e
hcontrol: fix memory leak

The pfd array was never freed.  In this function, we can just replace
malloc with alloca.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
pyalsa/alsahcontrol.c