summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui.c b/src/ui.c
index 84fbca1..9b0024a 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -161,6 +161,7 @@ PianoStation_t *BarUiSelectStation (PianoHandle_t *ph, const char *prompt) {
}
if (!BarReadlineInt (prompt, &i)) {
+ free (ss);
return NULL;
}
ssCurr = ss;