diff options
Diffstat (limited to 'src/pcm_hw.c')
-rw-r--r-- | src/pcm_hw.c | 1 |
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; } |