From: Takashi Iwai Date: Tue, 4 Feb 2003 15:59:25 +0000 (+0000) Subject: fixed typo. X-Git-Tag: v1.0.3~307 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=176d8589090507c869817a0f9aee5d9ed278550e;p=alsa-lib.git fixed typo. --- diff --git a/src/pcm/pcm_hw.c b/src/pcm/pcm_hw.c index e1e24acb..69669261 100644 --- a/src/pcm/pcm_hw.c +++ b/src/pcm/pcm_hw.c @@ -891,7 +891,7 @@ int snd_pcm_hw_open_fd(snd_pcm_t **pcmp, const char *name, if (hw) free(hw); if (pcm) - snd_pcm_free(pcm); + snd_pcm_close(pcm); return ret; }