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)
commit998d0075582bb65ec481933de9b837f9aaf4de94
tree4a8c47fe3523f8d707dab221c6ea482dc4bff5e9
parentf9defcd94560f24617aa917a754ea4ff70b02dcf
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
legacy/elementary/src/examples/performance/camera_light.c