examples/camera_light: free resources if we fail to allocate all and leave
authorStefan Schmidt <stefan@osg.samsung.com>
Tue, 20 Oct 2015 14:16:31 +0000 (16:16 +0200)
committerStefan Schmidt <stefan@osg.samsung.com>
Tue, 20 Oct 2015 14:16:31 +0000 (16:16 +0200)
commit397d94c65c6ae3b0f99066b68e9f96e14e5e343f
tree44501fee7a696510ca0880eab3f2dd7529588ede
parentec69c39e6965c7d0a9fa2f4d09f87af2ad0f8822
examples/camera_light: free resources if we fail to allocate all and leave

We return here leaving maybe some other allocations around and leaking.

CID: 1327348, 1327349, 1327350
src/examples/performance/camera_light.c