From 2e6344a32b76e359f2eb2587adc350a8840e1453 Mon Sep 17 00:00:00 2001 From: Stephane Letz Date: Tue, 3 Jun 2014 13:06:12 +0200 Subject: [PATCH] Use jack_free instead of free in inprocess.c. --- example-clients/inprocess.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example-clients/inprocess.c b/example-clients/inprocess.c index c650f415..42b1a24c 100644 --- a/example-clients/inprocess.c +++ b/example-clients/inprocess.c @@ -89,7 +89,7 @@ jack_initialize (jack_client_t *client, const char *load_init) fprintf (stderr, "cannot connect input ports\n"); } - free (ports); + jack_free (ports); ports = jack_get_ports (client, NULL, NULL, JackPortIsPhysical|JackPortIsInput); @@ -102,7 +102,7 @@ jack_initialize (jack_client_t *client, const char *load_init) fprintf (stderr, "cannot connect output ports\n"); } - free (ports); + jack_free (ports); return 0; /* success */ }