]> git.alsa-project.org Git - alsa-lib.git/commitdiff
fixed typo.
authorTakashi Iwai <tiwai@suse.de>
Tue, 4 Feb 2003 15:59:25 +0000 (15:59 +0000)
committerTakashi Iwai <tiwai@suse.de>
Tue, 4 Feb 2003 15:59:25 +0000 (15:59 +0000)
src/pcm/pcm_hw.c

index e1e24acb015dafcbbfb0ad8c461a3b0b971673bc..696692610f9f6aae5906600668d12dca15d0078b 100644 (file)
@@ -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;
 }