diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2011-12-08 11:26:04 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2011-12-08 11:26:04 +0100 |
commit | 2da38556d614b9bc969f65b3683c2ce6eb99e6bc (patch) | |
tree | bf2273121bd360ac207ec250f5985c7f5ccae968 | |
parent | cc2e11de05ffce5043ee19cfbe33fdddef3e5b5a (diff) | |
download | pianobar-windows-2da38556d614b9bc969f65b3683c2ce6eb99e6bc.tar.gz pianobar-windows-2da38556d614b9bc969f65b3683c2ce6eb99e6bc.tar.bz2 pianobar-windows-2da38556d614b9bc969f65b3683c2ce6eb99e6bc.zip |
piano: Fix memset
See #192
-rw-r--r-- | src/libpiano/piano.c | 2 |
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 |