a2jmidid (7+dfsg0-1) 1001-a2j_port_create.patch

Summary

 port.c |    1 +
 1 file changed, 1 insertion(+)

    
download this patch

Patch contents

Description: Free client information on success too.
Author: Dan A. Muresan <danmbox@gmail.com>
Applied-Upstream: http://repo.or.cz/w/a2jmidid.git/commitdiff/241017fa
---
 port.c |    1 +
 1 file changed, 1 insertion(+)

--- a2jmidid.orig/port.c
+++ a2jmidid/port.c
@@ -230,6 +230,7 @@ a2j_port_create(
   port->inbound_events = jack_ringbuffer_create(MAX_EVENT_SIZE*16);
 
   a2j_info("port created: %s", port->name);
+  snd_seq_client_info_free(client_info_ptr);
   return port;
 
 fail_free_port: