diff options
author | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2009-03-01 15:12:19 +0100 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2009-03-01 15:12:19 +0100 |
commit | 1383525f1287365673591b6286034c74f3f213ff (patch) | |
tree | 7bc2a3195041211a81bc6df9fc519f2f36638b6c | |
parent | d6764679ed3735714acae44c5cf529a9d047dc8b (diff) | |
download | pianobar-windows-1383525f1287365673591b6286034c74f3f213ff.tar.gz pianobar-windows-1383525f1287365673591b6286034c74f3f213ff.tar.bz2 pianobar-windows-1383525f1287365673591b6286034c74f3f213ff.zip |
Fix memory leak in station selector
-rw-r--r-- | src/ui.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -161,6 +161,7 @@ PianoStation_t *BarUiSelectStation (PianoHandle_t *ph, const char *prompt) { } if (!BarReadlineInt (prompt, &i)) { + free (ss); return NULL; } ssCurr = ss; |