Skip to content

Commit

Permalink
memory leak fix (unused code)
Browse files Browse the repository at this point in the history
  • Loading branch information
rivalsec committed Oct 6, 2023
1 parent 2c4d07d commit 44ce01d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pathbuster/pathbuster.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
preflight_iter = None
task_iter = None
preflight_samples = {} # for preflight results
results = [] # for workers results
err_table = dict()
uniq_locs = set()

Expand Down Expand Up @@ -150,7 +149,6 @@ async def worker_process(url, parent, redirect_count = 0):
return

if result_valid(res):
results.append(res)
if conf.json_print:
lprint(res.to_json(conf.store_response))
else:
Expand Down Expand Up @@ -300,8 +298,6 @@ async def fuzz(urls, paths, extensions, threads, ac=False ):

task_iter = work_prod(urls, paths, extensions, True)
await start_async_pool(threads, worker)
#return all found results
return results


async def main():
Expand Down

0 comments on commit 44ce01d

Please sign in to comment.