summaryrefslogtreecommitdiff
path: root/test/controls
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund@ragnatech.se>2020-08-04 00:49:42 +0200
committerNiklas Söderlund <niklas.soderlund@ragnatech.se>2020-08-05 13:01:13 +0200
commit1074604c9e2b6d9afa0247f2ca62b3140131d639 (patch)
tree96b3938e505ff36b9fd5c23986c8389965daa1e3 /test/controls
parent375fef72f85ba9184c860c4af86013e8688896e7 (diff)
cam: Use the common cleanup function on failure
The different error paths in init() are out of sync. Instead of fixing them switch to using the cleanup() function which does the right thing for all cases. Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'test/controls')
0 files changed, 0 insertions, 0 deletions