commit f488e73cc64d66f43bd34fd8253e94cf7545aa88 from: Stefan Sperling date: Thu Apr 11 20:01:15 2019 UTC fix objpath memleak in got_object_blob_create() commit - 81984c6becccdb4bc5c55d06dcfd509784910c85 commit + f488e73cc64d66f43bd34fd8253e94cf7545aa88 blob - b7496e3bd89e5a8bd78393ea432db0937fbd0b57 blob + 9a45cabf87f8d6ba4d983989ce24fb976f74e2d6 --- lib/object_create.c +++ lib/object_create.c @@ -152,6 +152,7 @@ got_object_blob_create(struct got_object_id **id, stru } done: free(header); + free(objpath); if (outpath) { if (unlink(outpath) != 0 && err == NULL) err = got_error_from_errno();