git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1758 0c269be4-1314-0410-8aa9-9f06e86f4224tags/0.69
@@ -17,6 +17,10 @@ Tim Blechmann | |||||
Jackdmp changes log | Jackdmp changes log | ||||
--------------------------- | --------------------------- | ||||
2008-01-03 Stephane Letz <letz@grame.fr> | |||||
* Tim Blechmann patch for JackGraphManager::GetPortsAux memory leak, Tim Blechmann patch for scons install. | |||||
2007-12-12 Stephane Letz <letz@grame.fr> | 2007-12-12 Stephane Letz <letz@grame.fr> | ||||
* Cleanup in CoreAudio driver. | * Cleanup in CoreAudio driver. | ||||
@@ -21,7 +21,7 @@ | |||||
import os | import os | ||||
from string import Template | from string import Template | ||||
platform = ARGUMENTS.get('OS', Platform()) | |||||
platform = ARGUMENTS.get('OS', str(Platform())) | |||||
build_dir = ARGUMENTS.get('BUILDDIR', "") | build_dir = ARGUMENTS.get('BUILDDIR', "") | ||||
if build_dir: | if build_dir: | ||||
@@ -759,6 +759,13 @@ const char** JackGraphManager::GetPortsAux(const char* port_name_pattern, const | |||||
matching_ports = NULL; | matching_ports = NULL; | ||||
} | } | ||||
if (port_name_pattern && port_name_pattern[0]) { | |||||
regfree(&port_regex); | |||||
} | |||||
if (type_name_pattern && type_name_pattern[0]) { | |||||
regfree(&type_regex); | |||||
} | |||||
return matching_ports; | return matching_ports; | ||||
} | } | ||||