tests: use the 'malloc' attribute
authorBartosz Golaszewski <bartekgola@gmail.com>
Wed, 1 Mar 2017 11:46:36 +0000 (12:46 +0100)
committerBartosz Golaszewski <bartekgola@gmail.com>
Wed, 1 Mar 2017 11:46:36 +0000 (12:46 +0100)
commit76c4606a3d14a5d0be334e74666f9a285b2db23a
treebc312adc3dcc5690d6b86febc73ff72392d83ea8
parent8afe8b2ec271c90d82901c0d63e122aa767e3c51
tests: use the 'malloc' attribute

Use the gcc 'malloc' attribute for all malloc-like routines in the
unit testing framework.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
tests/unit/gpiod-unit.c