ecore_example: Fixing NULL deference.
authorSrivardhan Hebbar <sri.hebbar@samsung.com>
Mon, 7 Sep 2015 11:30:48 +0000 (13:30 +0200)
committerStefan Schmidt <stefan@osg.samsung.com>
Mon, 7 Sep 2015 11:30:48 +0000 (13:30 +0200)
commit342db1ee38eca08fdc0d7cadd7ee3692d538afeb
tree5495ba599424c53ae4df4cf23dfc26b9b5c7950d
parente08a7d7c9d934b023c461b31e5942800174bd2a6
ecore_example: Fixing NULL deference.

Summary:
pd was dereferenced and then checked for NULL. If it was NULL, the program would crash much before. So fixed that.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric, stefan_schmidt

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D3031
src/examples/ecore/ecore_buffer_provider_example.c