diff options
author | Max Kellermann <max@duempel.org> | 2008-11-25 17:55:04 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-25 17:55:04 +0100 |
commit | d85184256e9bfbcd6e6533b8c806876ede52f538 (patch) | |
tree | 66cc8482c87054bd861905c9dcbca0a3049abf05 | |
parent | 7918785c78021258131e28a7a534064bdbc85dca (diff) | |
download | mpd-d85184256e9bfbcd6e6533b8c806876ede52f538.tar.gz mpd-d85184256e9bfbcd6e6533b8c806876ede52f538.tar.xz mpd-d85184256e9bfbcd6e6533b8c806876ede52f538.zip |
main: destroy the save_state timer on exit
Make valgrind happier.
-rw-r--r-- | src/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index 6d752f5a2..972aa32bb 100644 --- a/src/main.c +++ b/src/main.c @@ -470,6 +470,8 @@ int main(int argc, char *argv[]) } } + g_timer_destroy(save_state_timer); + write_state_file(); playerKill(); finishZeroconf(); |