diff options
author | 2010-04-02 18:45:49 +0200 | |
---|---|---|
committer | 2010-04-02 18:45:49 +0200 | |
commit | 91e6c9743f449c64351fff801e2abd528ebdcd4b (patch) | |
tree | 3c430727d2b6ae8bee9bf6cff70da306da7deb3c /plugins/flac/flac.c | |
parent | ab9f5abcf64ed36193f270d621c06c4b8fd5e82d (diff) |
fixed ton of memleaks and memory-related crashes
Diffstat (limited to 'plugins/flac/flac.c')
-rw-r--r-- | plugins/flac/flac.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/flac/flac.c b/plugins/flac/flac.c index 0c6d232f..9281b62e 100644 --- a/plugins/flac/flac.c +++ b/plugins/flac/flac.c @@ -704,6 +704,7 @@ cflac_insert (DB_playItem_t *after, const char *fname) { goto cflac_insert_fail; } after = deadbeef->pl_insert_item (after, it); + deadbeef->pl_item_unref (it); if (info.file) { deadbeef->fclose (info.file); } |