diff options
author | 2010-05-08 18:41:34 +0200 | |
---|---|---|
committer | 2010-05-08 18:41:34 +0200 | |
commit | d79dcf5dbddc0f9844ab1af965322dbab79b2c99 (patch) | |
tree | 34d5b5ca9b11d0d63715971afe4a8e12909255a3 /plugins/supereq/supereq.c | |
parent | 01753125e1878c255cfda64807066abca3348e27 (diff) |
fixed memleak in supereq
Diffstat (limited to 'plugins/supereq/supereq.c')
-rw-r--r-- | plugins/supereq/supereq.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/supereq/supereq.c b/plugins/supereq/supereq.c index 972c1798..b72c6c09 100644 --- a/plugins/supereq/supereq.c +++ b/plugins/supereq/supereq.c @@ -111,6 +111,9 @@ supereq_plugin_stop (void) { deadbeef->ev_unsubscribe (DB_PLUGIN (&plugin), DB_EV_CONFIGCHANGED, DB_CALLBACK (supereq_on_configchanged), 0); if (tid) { deadbeef->thread_join (tid); + tid = 0; + } + if (mutex) { deadbeef->mutex_free (mutex); mutex = 0; } |