Commit 41f3f127 authored by Max Kellermann's avatar Max Kellermann

output/jack: free source port names on exit

Make valgrind happy.
parent 5d55b456
......@@ -337,6 +337,9 @@ mpd_jack_finish(void *data)
{
struct jack_data *jd = data;
for (unsigned i = 0; i < jd->num_source_ports; ++i)
g_free(jd->source_ports[i]);
for (unsigned i = 0; i < jd->num_destination_ports; ++i)
g_free(jd->destination_ports[i]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment