diff options
author | Max Kellermann <max@duempel.org> | 2009-01-02 17:23:00 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-02 17:23:00 +0100 |
commit | 1fe129330eb76d6b38884041b7b9a13de427e7a5 (patch) | |
tree | 49b354c0ef4088e4057849caf89b3424ad232108 /src/update.h | |
parent | 38fb8a01c1721ab9aefe8a38e8e8d220cf6cf447 (diff) | |
download | mpd-1fe129330eb76d6b38884041b7b9a13de427e7a5.tar.gz mpd-1fe129330eb76d6b38884041b7b9a13de427e7a5.tar.xz mpd-1fe129330eb76d6b38884041b7b9a13de427e7a5.zip |
jack: duplicate jack_get_ports() return values
JACK documentation states: "The caller is responsible for calling
free(3) any non-NULL returned value."
This does not seem to include the array elements. Duplicate them
after jack_get_ports(), and free only the array. Convert
JackData.output_ports to non-const.
Diffstat (limited to 'src/update.h')
0 files changed, 0 insertions, 0 deletions