commit - aac02238e5d3974fdc3636fe328c80c768389173
commit + 9671dc9a57432bca74d0b261699b91df77e91a14
blob - add1155ed67009205f50bb3ebbdbd496647217cd
blob + fa99700470b1f361b57d147a746879769332f914
--- lib/load.c
+++ lib/load.c
int ch, done, nobj, idxstatus;
pid_t idxpid;
enum got_hash_algorithm repo_algo, bundle_algo;
+
+ memset(&idxibuf, 0, sizeof(idxibuf));
got_ratelimit_init(&rl, 0, 500);
repo_algo = got_repo_get_object_format(repo);
tmpidxpath = NULL;
done:
+ if (idxibuf.w)
+ imsgbuf_clear(&idxibuf);
free(line);
free(packpath);
free(idxpath);