From: Jeff King Date: Sat, 1 Sep 2012 11:34:09 +0000 (-0400) Subject: argv-array: fix bogus cast when freeing array X-Git-Tag: v1.7.12.2~7^2~3 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/ba4d1c7b1623b2c7ec198aee08036acf779375e6?hp=ba4d1c7b1623b2c7ec198aee08036acf779375e6 argv-array: fix bogus cast when freeing array Since the array struct stores a "const char **" argv member (for compatibility with most of our argv-taking functions), we have to cast away the const-ness when freeing its elements. However, we used the wrong type when doing so. It doesn't make a difference since free() take a void pointer anyway, but it can be slightly confusing to a reader. Signed-off-by: Jeff King Signed-off-by: Junio C Hamano ---