Message ID | aad3fe7381ced5eeff9c8d57ce90911bc59e3923.1631972978.git.gitgitgadget@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Squash leaks in t0000 | expand |
diff --git a/builtin/log.c b/builtin/log.c index 6faaddf17a6..769ee6a9258 100644 --- a/builtin/log.c +++ b/builtin/log.c @@ -702,7 +702,8 @@ int cmd_show(int argc, const char **argv, const char *prefix) ret = error(_("unknown type: %d"), o->type); } } - free(objects); + UNLEAK(objects); + return ret; }