author | Max Kellermann <max@duempel.org> | |
Sun, 21 Sep 2008 20:42:51 +0000 (22:42 +0200) | ||
committer | Max Kellermann <max@duempel.org> | |
Sun, 21 Sep 2008 20:42:51 +0000 (22:42 +0200) | ||
commit | 85877791beb48d083d7dd8c60d017500cc68496d | |
tree | 56f6548f92a89d233a328e1e797fcbb6794fa7c9 | tree | snapshot |
parent | 1e23badc0bbd7615d65e4e2aa3814db29b7c8b70 | commit | diff |
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).
During authentication, the message pointer was allocated, but never
freed. Allocate it only if it is really used (and freed).
src/mpdclient.c | diff | blob | history |