output/jack: free source port names on exit

Make valgrind happy.
This commit is contained in:
Max Kellermann 2009-11-07 15:17:48 +01:00
parent 5d55b45654
commit 41f3f12709

View File

@ -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]);