summaryrefslogtreecommitdiff
path: root/src/libpiano/piano.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libpiano/piano.c')
-rw-r--r--src/libpiano/piano.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libpiano/piano.c b/src/libpiano/piano.c
index 14c4486..367a2c9 100644
--- a/src/libpiano/piano.c
+++ b/src/libpiano/piano.c
@@ -92,7 +92,7 @@ void PianoDestroyStation (PianoStation_t *station) {
free (station->name);
free (station->id);
free (station->seedId);
- memset (station, 0, sizeof (station));
+ memset (station, 0, sizeof (*station));
}
/* free complete station list