diff options
author | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-08-28 12:58:37 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-08-28 12:58:37 +0200 |
commit | 0449c38fa879b8a1a470674538322bcf6eec0d58 (patch) | |
tree | 0a0277a36fac60eba2221113fe4abfc7ee364b33 /libpiano/src | |
parent | 0eeab2177ebc7748da58abd9381d99c70a44e5ae (diff) | |
download | pianobar-0449c38fa879b8a1a470674538322bcf6eec0d58.tar.gz pianobar-0449c38fa879b8a1a470674538322bcf6eec0d58.tar.bz2 pianobar-0449c38fa879b8a1a470674538322bcf6eec0d58.zip |
piano: Don't read freed memory
Diffstat (limited to 'libpiano/src')
-rw-r--r-- | libpiano/src/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libpiano/src/main.c b/libpiano/src/main.c index ec11685..2653853 100644 --- a/libpiano/src/main.c +++ b/libpiano/src/main.c @@ -486,6 +486,7 @@ PianoReturn_t PianoDeleteStation (PianoHandle_t *ph, PianoStation_t *station) { } PianoDestroyStation (curStation); PianoFree (curStation, sizeof (*curStation)); + break; } lastStation = curStation; curStation = curStation->next; |