diff options
author | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2009-04-04 15:52:53 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2009-04-04 15:52:53 +0200 |
commit | 3a2b4265d7c095c39e89887de4d92f0dd7da6c7e (patch) | |
tree | ac1debed182addeeeaa2ed44c6e1238123112bf2 /src | |
parent | d6be5d8b24ad75503e6903dbd3ff084c992b53ed (diff) | |
download | pianobar-windows-3a2b4265d7c095c39e89887de4d92f0dd7da6c7e.tar.gz pianobar-windows-3a2b4265d7c095c39e89887de4d92f0dd7da6c7e.tar.bz2 pianobar-windows-3a2b4265d7c095c39e89887de4d92f0dd7da6c7e.zip |
Forgot to close fifo...
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -272,11 +272,14 @@ int main (int argc, char **argv) { } } + /* destroy everything (including the world...) */ if (player.url != NULL) { free (player.url); pthread_join (playerThread, NULL); } - /* destroy everything (including the world...) */ + if (polls[1].fd != -1) { + close (polls[1].fd); + } PianoDestroy (&ph); WardrobeDestroy (&wh); curl_global_cleanup (); |