[APPHELP_APITEST] Properly handle a couple 'malloc()/free()' (#2898)
authorSerge Gautherie <32623169+SergeGautherie@users.noreply.github.com>
Sat, 6 Jun 2020 15:58:34 +0000 (17:58 +0200)
committerGitHub <noreply@github.com>
Sat, 6 Jun 2020 15:58:34 +0000 (17:58 +0200)
commite7440eff8fb2092bea08def0db7f6d196167e5a4
tree5f5248ea966e8e8b76348bf65aa2b726cc2cef9b
parent3051eb0e48c0b8a1225296787e9825e6e71625b7
[APPHELP_APITEST] Properly handle a couple 'malloc()/free()' (#2898)

Detected by Cppcheck: memleak, redundantAssignment.
Addendum to 78280ad2 (r71226).
modules/rostests/apitests/apphelp/data.c
modules/rostests/apitests/apphelp/layerapi.c