diff options
| author | Junio C Hamano <gitster@pobox.com> | 2017-10-07 16:27:55 +0900 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2017-10-07 16:27:55 +0900 |
| commit | 5261fefa4aa7e9c054e1bd664a138d49a3e26d79 (patch) | |
| tree | a56d45f14a526fa1bf1da76aa447ed86e1c85a3f /builtin/checkout.c | |
| parent | 1f57e71fabffd801d026c08e7acade834dcc16bb (diff) | |
| parent | 886e1084d78cda218b4d1133e8154e8556f92222 (diff) | |
| download | git-5261fefa4aa7e9c054e1bd664a138d49a3e26d79.tar.xz | |
Merge branch 'ma/builtin-unleak'
Many variables that points at a region of memory that will live
throughout the life of the program have been marked with UNLEAK
marker to help the leak checkers concentrate on real leaks..
* ma/builtin-unleak:
builtin/: add UNLEAKs
Diffstat (limited to 'builtin/checkout.c')
| -rw-r--r-- | builtin/checkout.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/checkout.c b/builtin/checkout.c index 10751585ea..fc4f8fd2ea 100644 --- a/builtin/checkout.c +++ b/builtin/checkout.c @@ -1297,6 +1297,7 @@ int cmd_checkout(int argc, const char **argv, const char *prefix) strbuf_release(&buf); } + UNLEAK(opts); if (opts.patch_mode || opts.pathspec.nr) return checkout_paths(&opts, new.name); else |
