summaryrefslogtreecommitdiff
path: root/src/qtmoduleupdater/qt5.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/qtmoduleupdater/qt5.go')
-rw-r--r--src/qtmoduleupdater/qt5.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qtmoduleupdater/qt5.go b/src/qtmoduleupdater/qt5.go
index 738a084..47118b1 100644
--- a/src/qtmoduleupdater/qt5.go
+++ b/src/qtmoduleupdater/qt5.go
@@ -191,6 +191,7 @@ func prepareQt5Update(product string, branch string, updatedModules map[string]*
if err != nil {
return err
}
+ defer index.Free()
if err = index.ReadTree(productHead); err != nil {
return err