plug a small memleak on error in got_pack_create()
diff --git a/lib/pack_create.c b/lib/pack_create.c
index 71ea8bf..5415448 100644
--- a/lib/pack_create.c
+++ b/lib/pack_create.c
@@ -1946,7 +1946,7 @@ got_pack_create(uint8_t *packsha1, FILE *packfile,
ntheirs, ours, nours, repo, loose_obj_only,
progress_cb, progress_arg, &rl, cancel_cb, cancel_arg);
if (err)
- return err;
+ goto done;
if (progress_cb) {
err = progress_cb(progress_arg, ncolored, nfound, ntrees,