chiark / gitweb /
analyze: avoid a null dereference
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Thu, 11 Sep 2014 21:41:44 +0000 (23:41 +0200)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Thu, 11 Sep 2014 21:45:36 +0000 (23:45 +0200)
commitd725a138c5c311ba06567d6841933aa5b7b6a435
tree92da3ce3ad44972dbaea681c744227fd43c37106
parent671174136525ddf208cdbe75d6d6bd159afa961f
analyze: avoid a null dereference

If we have an error in the early sd_bus_* calls then unit_times
will still be null.

Found with coverity. Fixes: CID#996464
src/analyze/analyze.c