fix leaks in bio2jack

This commit is contained in:
niels
2015-06-23 23:48:27 +02:00
parent a4f1d9a00e
commit e8bc55acee
2 changed files with 11 additions and 0 deletions

View File

@@ -2486,6 +2486,16 @@ JACK_SetClientName(char *name)
}
}
void
JACK_FreeClientName()
{
if( client_name ) {
free(client_name);
client_name = NULL;
}
}
long JACK_OutputStatus(int deviceID,long *sec, long *usec)
{
jack_driver_t *this = &outDev[deviceID];