summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/sploit/sploit/main.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/sploit/sploit/main.py b/tools/sploit/sploit/main.py
index f97e04e..77ef49e 100644
--- a/tools/sploit/sploit/main.py
+++ b/tools/sploit/sploit/main.py
@@ -1,6 +1,7 @@
import argparse
import tempfile
import traceback
+import gc
from sploit.comm import *
@@ -55,4 +56,6 @@ def runscript(script, comm):
pass
except:
traceback.print_exc()
+ finally:
+ gc.collect()
print("Script Ended Early!")