mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-12-16 08:56:42 -05:00
Fixed stdio_close
This commit is contained in:
parent
aa7df159e1
commit
54bfcb69d8
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ typedef struct _snd_output_stdio {
|
||||||
static int snd_output_stdio_close(snd_output_t *output ATTRIBUTE_UNUSED)
|
static int snd_output_stdio_close(snd_output_t *output ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
snd_output_stdio_t *stdio = output->private_data;
|
snd_output_stdio_t *stdio = output->private_data;
|
||||||
if (close)
|
if (stdio->close)
|
||||||
fclose(stdio->fp);
|
fclose(stdio->fp);
|
||||||
free(stdio);
|
free(stdio);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue