]> granicus.if.org Git - procps-ng/commit
free: use correct end sentinel
authorCraig Small <csmall@enc.com.au>
Sat, 24 Oct 2015 02:17:36 +0000 (13:17 +1100)
committerCraig Small <csmall@enc.com.au>
Sat, 24 Oct 2015 02:17:36 +0000 (13:17 +1100)
commit97cde50b359781548ab1663010ca939e0f04e9cd
tree5ffbb39658d2baba6c29cb45208698ecfaf0855a
parentaeef4e68035226561c090b05e80e7963dd076d3e
free: use correct end sentinel

When scaling values, the last item was integer 0 but the loop checked
for character '0'.

This was reported by 付腾桂 Thanks for the report and patch.
free.c