Don't crash when reloading if we haven't loaded user database yet
authorColin Walters <walters@verbum.org>
Mon, 1 Feb 2010 22:38:25 +0000 (17:38 -0500)
committerColin Walters <walters@verbum.org>
Mon, 1 Feb 2010 22:40:17 +0000 (17:40 -0500)
commit0607bdb676c8fd95126ba994ab72e71becc232d8
tree92c82fcadd80726bc5f9b37bcf7bd34851fab27c
parente59db9df47bcf99aa292e6d13ca2044105a94b90
Don't crash when reloading if we haven't loaded user database yet

The user database is populated on-demand, but the cache dropping
code assumed it had been initialized.  Simply check for NULL.

https://bugs.freedesktop.org/show_bug.cgi?id=26182
dbus/dbus-userdb.c