lib/repo.c: resource leak (CID 62715)