Code

mpdclient: fix memory leak in mpdclient_finish_command()
authorMax Kellermann <max@duempel.org>
Sun, 21 Sep 2008 20:42:51 +0000 (22:42 +0200)
committerMax Kellermann <max@duempel.org>
Sun, 21 Sep 2008 20:42:51 +0000 (22:42 +0200)
commit85877791beb48d083d7dd8c60d017500cc68496d
tree56f6548f92a89d233a328e1e797fcbb6794fa7c9
parent1e23badc0bbd7615d65e4e2aa3814db29b7c8b70
mpdclient: fix memory leak in mpdclient_finish_command()

During authentication, the message pointer was allocated, but never
freed.  Allocate it only if it is really used (and freed).
src/mpdclient.c