eldbus: Check return value and error out if necessary
authorChris Michael <cp.michael@samsung.com>
Thu, 21 Jul 2016 16:50:19 +0000 (12:50 -0400)
committerChris Michael <cp.michael@samsung.com>
Thu, 21 Jul 2016 16:50:19 +0000 (12:50 -0400)
commitfb09df7977d6038d0c422494dd2d9926e70a89a9
treebf4a50c53e501adfc8ae8679fb35c4a9f865eb8d
parent4555f5d5940d18f7d5e382803a5e4bd21b461980
eldbus: Check return value and error out if necessary

Coverity reports that we do not check the return value of
_eldbus_model_proxy_load here. We likely should be checking that in
case the model proxy fails to load so we can return proper values here.

Fixes Coverity CID1355233

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/eldbus/eldbus_model_proxy.c