tests: fix a memory leak
authorBartosz Golaszewski <bartekgola@gmail.com>
Sun, 11 Jun 2017 18:15:50 +0000 (20:15 +0200)
committerBartosz Golaszewski <bartekgola@gmail.com>
Sun, 11 Jun 2017 18:15:50 +0000 (20:15 +0200)
commit4348a31039163417a5017ac4bc0f872df4e5a4fe
tree52a95f349981d1176304d816bd8b720d7e0a109f
parent6914f414ba55a645170dbc7ec29c1638fc3b2992
tests: fix a memory leak

We don't free the string allocated by asprintf() in a test case for
gpioinfo. Fix it.

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