Code

mpdclient: wrap access in mpdclient_get_connection()
authorMax Kellermann <max@duempel.org>
Sat, 3 Oct 2009 23:18:06 +0000 (01:18 +0200)
committerMax Kellermann <max@duempel.org>
Sat, 3 Oct 2009 23:18:06 +0000 (01:18 +0200)
commitba6e36186aa8c6bd13d4162d6e16125b6616ace3
tree7c3a78814f92e2f834d6d294bd18588cedd08c65
parenta0fdb070bbe26e1b192478f1e82e5f4312bd9af9
mpdclient: wrap access in mpdclient_get_connection()

Added mpdclient_put_connection() to release the connection before
control is returned to the GLib main loop.
13 files changed:
src/main.c
src/mpdclient.c
src/mpdclient.h
src/player_command.c
src/screen_artist.c
src/screen_browser.c
src/screen_client.c
src/screen_file.c
src/screen_outputs.c
src/screen_play.c
src/screen_search.c
src/screen_song.c
src/utils.c