Fix possible nullptr issue 57/89957/1
authorJunghyun Yeon <jungh.yeon@samsung.com>
Wed, 28 Sep 2016 01:54:09 +0000 (10:54 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Wed, 28 Sep 2016 01:54:09 +0000 (10:54 +0900)
commit0db71cafc2534cb6f731bf93bc9d4f80aa35981f
treefd34536522c25d6d077b6bb699939131c3d0ba8d
parent44d8a3476e5bab657df9abc083d682030e751eb2
Fix possible nullptr issue

- GError will be set if GDBusConnection is null,
according to reference guide docs.
- 'or' should be change into 'and' to resolve static analysis
problem.

Change-Id: I82ece65c0b8eb74a69ca2cd540cc72860c11720d
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/common/pkgdir_tool_request.cc