]> git.tuebingen.mpg.de Git - paraslash.git/commit
audiod: Fix memory leak on exit: stat client.
authorAndre Noll <maan@systemlinux.org>
Sun, 7 Jul 2013 12:02:40 +0000 (14:02 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 22 Sep 2013 00:29:18 +0000 (02:29 +0200)
commit32a078f2f75bcd26cccd17418c901c3b2c85b1cc
treeae9e60e357fbc7e84e8dc6ab9714a6d1af9b0fcc
parent70677862e5548461918ce42af206cdca61dc250f
audiod: Fix memory leak on exit: stat client.

Currently we don't close stat clients on exit which results in (benign)
memory leaks. Introduce the new public close_stat_clients() and call
it from clean_exit() to avoid the leak.

This patch also removes the pointles local variable "fd".
audiod.c
audiod.h
audiod_command.c