[pulseaudio-discuss] [PATCH] libpulse: Store pa_stream pointers to hashmaps instead of dynarrays.

Colin Guthrie gmane at colin.guthr.ie
Thu Dec 3 15:13:37 PST 2009


'Twas brillig, and Tanu Kaskinen at 03/12/09 11:22 did gyre and gimble:
> Since the stream identifiers (channels) are monotonically growing integer, it
> isn't a good idea to use them as index to a dynamic array, because the array
> will grow all the time. This is not a problem with client connections that
> don't create many streams, but, for example, long-running clients that use
> libcanberra for playing event sounds, this means that the client connection
> effectively leaks memory.

Just for clarity, this is also merged :)

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
   Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
   Mandriva Linux Contributor [http://www.mandriva.com/]
   PulseAudio Hacker [http://www.pulseaudio.org/]
   Trac Hacker [http://trac.edgewall.org/]




More information about the pulseaudio-discuss mailing list