Merge branch 'jk/tighten-alloc'
Small code and comment clean-up. * jk/tighten-alloc: receive-pack: use FLEX_ALLOC_MEM in queue_command() correct FLEXPTR_* example in comment
This commit is contained in:
@ -815,7 +815,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).
|
||||
|
||||
Reference in New Issue
Block a user