From 8045baf41fe69af36d7f38552585a5c791d7e54c Mon Sep 17 00:00:00 2001 From: dlahoti Date: Wed, 18 Jul 2012 22:25:44 -0700 Subject: [PATCH] jack_free() should be used to free memory returned by jack_get_ports() http://jackaudio.org/files/docs/html/jack_8h.html#a437010097629ac8124a56c752c02f299 --- example-clients/simple_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example-clients/simple_client.c b/example-clients/simple_client.c index 9e90fcd1..a9f7e64b 100644 --- a/example-clients/simple_client.c +++ b/example-clients/simple_client.c @@ -191,7 +191,7 @@ main (int argc, char *argv[]) fprintf (stderr, "cannot connect output ports\n"); } - free (ports); + jack_free (ports); /* install a signal handler to properly quits jack client */ #ifdef WIN32