diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-09-09 04:36:00 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-09-09 04:36:00 (GMT) |
commit | 9bef64223606a2c5fdc696745ce02b4af62bda90 (patch) | |
tree | caaa4011d093adb2569ecaca4705d48b55ee9f66 /git-compat-util.h | |
parent | 5e469ab66c86d5178aae71cacf9f55c3b378de03 (diff) | |
parent | ddd0bfac7cfaabc7c0422ecee9604ede9c4841d1 (diff) | |
download | git-9bef64223606a2c5fdc696745ce02b4af62bda90.zip git-9bef64223606a2c5fdc696745ce02b4af62bda90.tar.gz git-9bef64223606a2c5fdc696745ce02b4af62bda90.tar.bz2 |
Merge branch 'jk/tighten-alloc' into maint
Small code and comment clean-up.
* jk/tighten-alloc:
receive-pack: use FLEX_ALLOC_MEM in queue_command()
correct FLEXPTR_* example in comment
Diffstat (limited to 'git-compat-util.h')
-rw-r--r-- | git-compat-util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-compat-util.h b/git-compat-util.h index 9eab471..b4b7f44 100644 --- a/git-compat-util.h +++ b/git-compat-util.h @@ -802,7 +802,7 @@ extern FILE *fopen_for_writing(const char *path); * you can do: * * struct foo *f; - * FLEX_ALLOC_STR(f, name, src); + * FLEXPTR_ALLOC_STR(f, name, src); * * and "name" will point to a block of memory after the struct, which will be * freed along with the struct (but the pointer can be repointed anywhere). |