summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/rtkit.c
diff options
context:
space:
mode:
authorTanu Kaskinen <ext-tanu.kaskinen@nokia.com>2009-12-03 13:22:05 +0200
committerColin Guthrie <cguthrie@mandriva.org>2009-12-03 21:47:46 +0000
commit4c793cfc76360676b3881d7943b49adf892594d2 (patch)
tree93377259f55938394bcdc5fdf579806098953e4c /src/pulsecore/rtkit.c
parent118466638aa651eac0d20513d348ddcc446bb5e6 (diff)
libpulse: Store pa_stream pointers to hashmaps instead of dynarrays.
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.
Diffstat (limited to 'src/pulsecore/rtkit.c')
0 files changed, 0 insertions, 0 deletions