Re: [PATCH for jk/leak-checkers] git-compat-util: make UNLEAK less error-prone

2017-09-19 Thread Jeff King
On Tue, Sep 19, 2017 at 02:34:56PM -0700, Jonathan Tan wrote: > Commit 0e5bba5 ("add UNLEAK annotation for reducing leak false > positives", 2017-09-08) introduced an UNLEAK macro to be used as > "UNLEAK(var);", but its existing definitions make it possible to be > invoked as "UNLEAK(var)" (withou

[PATCH for jk/leak-checkers] git-compat-util: make UNLEAK less error-prone

2017-09-19 Thread Jonathan Tan
Commit 0e5bba5 ("add UNLEAK annotation for reducing leak false positives", 2017-09-08) introduced an UNLEAK macro to be used as "UNLEAK(var);", but its existing definitions make it possible to be invoked as "UNLEAK(var)" (without the trailing semicolon) too. Therefore, modify its definitions to ca