diff options
author | René Scharfe <l.s.r@web.de> | 2017-10-01 16:44:46 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-10-02 13:15:59 +0900 |
commit | 90dd04aaeb9ddbdc26c5937a118db505c6a28394 (patch) | |
tree | 1e948a8692e54f52bf414d27675a8bfeb101d640 /sub-process.c | |
parent | The eleventh batch for 2.15 (diff) | |
download | tgif-90dd04aaeb9ddbdc26c5937a118db505c6a28394.tar.xz |
repository: use FREE_AND_NULL
Use the macro FREE_AND_NULL to release allocated objects and clear their
pointers. This is shorter and documents the intent better by combining
the two related operations into one.
Patch generated with Coccinelle and contrib/coccinelle/free.cocci.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sub-process.c')
0 files changed, 0 insertions, 0 deletions