diff options
author | 2009-08-29 18:53:30 +0200 | |
---|---|---|
committer | 2009-08-29 19:56:49 +0200 | |
commit | 003a54afeba00597fd2f50e38ccd35c7cd5e4e39 (patch) | |
tree | 53e0b9b839dbf4de9daa9dd354d423aa01b81052 /playlist.c | |
parent | 335bec105eea648030f55282479fe509cc1bfa9d (diff) |
lastfm plugin uri-encoding, batch-sending and other improvements
Diffstat (limited to 'playlist.c')
-rw-r--r-- | playlist.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -562,7 +562,9 @@ pl_item_copy (playItem_t *out, playItem_t *it) { playItem_t * pl_item_alloc (void) { - return malloc (sizeof (playItem_t)); + playItem_t *it = malloc (sizeof (playItem_t)); + memset (it, 0, sizeof (playItem_t)); + return it; } void |