1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-04 15:50:10 +01:00

Fixed file resource-leak spotted by Martin Ettl (linux only)

This commit is contained in:
james.k.crook@gmail.com
2014-01-18 23:22:45 +00:00
parent 488d5cd3cf
commit 9fe88405b1

View File

@@ -153,6 +153,8 @@ void PipeServer()
if (toFifo == NULL) if (toFifo == NULL)
{ {
perror("Unable to open fifo to server from script"); perror("Unable to open fifo to server from script");
if (fromFifo != NULL)
fclose(fromFifo);
return; return;
} }