summaryrefslogtreecommitdiff
path: root/src/libpiano/piano.c
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2011-12-08 11:26:04 +0100
committerLars-Dominik Braun <lars@6xq.net>2011-12-08 11:26:04 +0100
commit2da38556d614b9bc969f65b3683c2ce6eb99e6bc (patch)
treebf2273121bd360ac207ec250f5985c7f5ccae968 /src/libpiano/piano.c
parentcc2e11de05ffce5043ee19cfbe33fdddef3e5b5a (diff)
downloadpianobar-2da38556d614b9bc969f65b3683c2ce6eb99e6bc.tar.gz
pianobar-2da38556d614b9bc969f65b3683c2ce6eb99e6bc.tar.bz2
pianobar-2da38556d614b9bc969f65b3683c2ce6eb99e6bc.zip
piano: Fix memset
See #192
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