Skip to content

Commit

Permalink
TIMIDITY: Fix resource leak (CID 1003919)
Browse files Browse the repository at this point in the history
  • Loading branch information
Torbjörn Andersson committed Nov 30, 2015
1 parent 7ce6a2d commit 93b2a2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backends/midi/timidity.cpp
Expand Up @@ -316,6 +316,7 @@ int MidiDriver_TIMIDITY::connect_to_server(const char* hostname, unsigned short

if (connect(fd, (struct sockaddr *)&in, sizeof(in)) < 0) {
warning("TiMidity: connect(): %s", strerror(errno));
::close(fd);
return -1;
}

Expand Down

0 comments on commit 93b2a2e

Please sign in to comment.