]> diplodocus.org Git - nmh/commit
Moved free(cp) to right after last (and only) use of cp. The statement
authorDavid Levine <levinedl@acm.org>
Sun, 26 Jun 2016 01:19:37 +0000 (21:19 -0400)
committerDavid Levine <david.levine@gonift.com>
Sun, 26 Jun 2016 01:34:55 +0000 (21:34 -0400)
commit02e8ef21eb92e4a751dbdf5dc19e2ddee032acd5
treee14b677998c5a4bb1bb2c3945ebac86ff2c18df2
parent23647f69a20326716b874a701480bd99919e32c0
Moved free(cp) to right after last (and only) use of cp.  The statement
was flagged by gcc 6 -Wmisleading-indentation.  In its original location,
it would not always have been called, resulting in leaked memory.

(cherry picked from commit 79f012b76eba04d50a36a4a37c57458a8d521434)
uip/mhlsbr.c