diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-08-14 19:53:46 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-08-14 19:53:46 -0400 |
commit | 21ffd650803b202832023aac4e626cead8d11a58 (patch) | |
tree | 17ce049f42afbefad475f8fdf3668e3059496b9a | |
parent | 9c1f6d96e2d64b4763ff02c23aa942849b28176b (diff) | |
download | mirror-ponymix-21ffd650803b202832023aac4e626cead8d11a58.tar.gz mirror-ponymix-21ffd650803b202832023aac4e626cead8d11a58.tar.bz2 mirror-ponymix-21ffd650803b202832023aac4e626cead8d11a58.zip |
fix invalid memory access
-rw-r--r-- | ponymix.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -643,7 +643,7 @@ static void pulse_deinit(struct pulseaudio_t *pulse) pa_context_disconnect(pulse->cxt); pa_mainloop_free(pulse->mainloop); - while (node) { + while (node && pulse->head) { node = pulse->head->next; free(pulse->head->name); free(pulse->head->desc); |