[ardour-dev] Freeing ports in AudioEngine::n_physical_inputs/outpus
Remco Poelstra
remco at beryllium.net
Sun Jun 12 07:42:18 PDT 2005
Hi,
In the functions AudioEngine:n_physical_inputs/outpus()
I saw the following code:
if(ports) {
for (i=0;ports[i];i++)
free(ports)
}
Why is it this way? I had expected something like:
if(ports) {
for (i=0;ports[i];i++)
free(ports[i])
}
free(ports).
Can anyone explains this?
Thanks in advance,
Remco Poelstra
P.S. Sorry for the last post, my mailclient and I had a disagreement on
the level of completeness of the e-mail.
More information about the Ardour-Dev
mailing list