malloc/tst-pvalloc.c: Tidy up code.
authorWill Newton <will.newton@linaro.org>
Thu, 3 Oct 2013 10:24:38 +0000 (11:24 +0100)
committerWill Newton <will.newton@linaro.org>
Fri, 4 Oct 2013 08:15:33 +0000 (09:15 +0100)
commit1bc92709f336f8f7d5cc3e47a0fec654f57382fe
treef1069c17c8368ac4307da993cd0b02d38871a38b
parent27d0461b7bb00e8863dbb2087ce22bf67f9c1018
malloc/tst-pvalloc.c: Tidy up code.

Add some comments and call free on all potentially allocated pointers.
Also remove duplicate check for NULL pointer.

ChangeLog:

2013-10-04  Will Newton  <will.newton@linaro.org>

* malloc/tst-pvalloc.c: Add comments.
(do_test): Add comments and call free on all potentially
allocated pointers. Remove duplicate check for NULL pointer.
Add space after cast.
ChangeLog
malloc/tst-pvalloc.c