summaryrefslogtreecommitdiffstats
path: root/module/PluginThread.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-01-23 23:15:37 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-01-23 23:15:37 +0100
commitd66bfc3f0754d2b563d30ac3e6e7b55f2fdefdf7 (patch)
treeddbd7d825830e41b6403817701d29777189b275a /module/PluginThread.py
parentFileSonic Premium (diff)
downloadpyload-d66bfc3f0754d2b563d30ac3e6e7b55f2fdefdf7.tar.xz
closed memory leak in debug mode, closed #217
Diffstat (limited to 'module/PluginThread.py')
-rw-r--r--module/PluginThread.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/module/PluginThread.py b/module/PluginThread.py
index 216f59853..311d80ba4 100644
--- a/module/PluginThread.py
+++ b/module/PluginThread.py
@@ -71,6 +71,10 @@ class PluginThread(Thread):
dump += pformat(value) + "\n"
except Exception, e:
dump += "<ERROR WHILE PRINTING VALUE> "+ str(e) +"\n"
+
+ del frame
+
+ del stack #delete it just to be sure...
dump += "\n\nPLUGIN OBJECT DUMP: \n\n"