Browse Source

jack_free() should be used to free memory returned by jack_get_ports()

http://jackaudio.org/files/docs/html/jack_8h.html#a437010097629ac8124a56c752c02f299
tags/1.9.9.5
dlahoti 12 years ago
parent
commit
8045baf41f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      example-clients/simple_client.c

+ 1
- 1
example-clients/simple_client.c View File

@@ -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


Loading…
Cancel
Save