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)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1530518

Title:
  /etc/cron.weekly/apt-xapian-index reports TypeError

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1530518/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to