euscanwww: adding elem.clear() to prevent memory leaking in xml parsing
Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
parent
145388a5e5
commit
94b814481b
@ -141,6 +141,7 @@ class ScanPortage(object):
|
||||
if elem.tag == "category":
|
||||
# clean old data
|
||||
cat = ""
|
||||
elem.clear()
|
||||
|
||||
if self.purge_packages:
|
||||
for package in current_packages:
|
||||
|
Loading…
Reference in New Issue
Block a user