aboutsummaryrefslogtreecommitdiff
path: root/src/pcm_hw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pcm_hw.c')
-rw-r--r--src/pcm_hw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pcm_hw.c b/src/pcm_hw.c
index 1e67e9b..e25cdae 100644
--- a/src/pcm_hw.c
+++ b/src/pcm_hw.c
@@ -97,6 +97,7 @@ static int pcm_hw_open(unsigned int card, unsigned int device,
fd = open(fn, O_RDWR);
if (fd < 0) {
+ free(hw_data);
return fd;
}