summaryrefslogtreecommitdiff
path: root/plugins/sid
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-04-02 18:45:49 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-04-02 18:45:49 +0200
commit91e6c9743f449c64351fff801e2abd528ebdcd4b (patch)
tree3c430727d2b6ae8bee9bf6cff70da306da7deb3c /plugins/sid
parentab9f5abcf64ed36193f270d621c06c4b8fd5e82d (diff)
fixed ton of memleaks and memory-related crashes
Diffstat (limited to 'plugins/sid')
-rw-r--r--plugins/sid/csid.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/sid/csid.cpp b/plugins/sid/csid.cpp
index 9a21c1eb..09c1d3ec 100644
--- a/plugins/sid/csid.cpp
+++ b/plugins/sid/csid.cpp
@@ -545,6 +545,7 @@ csid_insert (DB_playItem_t *after, const char *fname) {
it->filetype = "SID";
after = deadbeef->pl_insert_item (after, it);
+ deadbeef->pl_item_unref (it);
}
}
delete tune;