Comment 3 for bug 1530518

Revision history for this message
Barry Warsaw (barry) wrote :

diff --git a/update-apt-xapian-index b/update-apt-xapian-index
index 5b38c5f..f6e434a 100755
--- a/update-apt-xapian-index
+++ b/update-apt-xapian-index
@@ -103,4 +103,6 @@ if opts.update:
 else:
     indexer.rebuild(opts.pkgfile)

+# Free the resources explicitly. See LP: #1530518
+del indexer
 sys.exit(0)