diff options
author | Tai Vuong <tvuong@audiokinetic.com> | 2017-11-07 15:40:40 -0500 |
---|---|---|
committer | Tai Vuong <tvuong@audiokinetic.com> | 2017-11-07 15:40:40 -0500 |
commit | 62d1562669676641613f31f9949008b73d56b458 (patch) | |
tree | 3db9d75a615516e4d98df17bf971e023584742ef /ahl-binding/ahl-config.c | |
parent | 2565af906b8e1f40c1e8a1da21b9b29ad995edfe (diff) |
Fix memory leak, ducking bug on policy, close stream
Diffstat (limited to 'ahl-binding/ahl-config.c')
-rw-r--r-- | ahl-binding/ahl-config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ahl-binding/ahl-config.c b/ahl-binding/ahl-config.c index 0817c25..61b6edd 100644 --- a/ahl-binding/ahl-config.c +++ b/ahl-binding/ahl-config.c @@ -192,7 +192,7 @@ int ParseHLBConfig() { } // Sources - pRoleInfo->pSourceEndpoints = g_ptr_array_new_with_free_func(g_free); + pRoleInfo->pSourceEndpoints = g_ptr_array_new_with_free_func(TermEndpointInfo); if (iNumInDevices) { err = EnumerateDevices(jInputDevices,pRoleName,ENDPOINTTYPE_SOURCE,pRoleInfo->pSourceEndpoints); if (err) { @@ -201,7 +201,7 @@ int ParseHLBConfig() { } } // Sinks - pRoleInfo->pSinkEndpoints = g_ptr_array_new_with_free_func(g_free); + pRoleInfo->pSinkEndpoints = g_ptr_array_new_with_free_func(TermEndpointInfo); if (iNumOutDevices) { err = EnumerateDevices(jOutputDevices,pRoleName,ENDPOINTTYPE_SINK,pRoleInfo->pSinkEndpoints); if (err) { |