Places module: fix segfault on resume after suspend.

Patch from Nikolas.Arend@gmx.net
  Thanks :)




SVN revision: 56289
This commit is contained in:
Davide Andreoli 2011-01-24 17:52:56 +00:00
parent 0c52d71622
commit 6af57a0fbb
1 changed files with 2 additions and 0 deletions

View File

@ -934,6 +934,8 @@ _places_volume_properties_cb(void *data, void *reply_data, DBusError *error)
int err = 0;
const char *str = NULL;
if (!v) return;
/* skip volumes with volume.ignore set */
if (e_hal_property_bool_get(reply, "volume.ignore", &err) || err)
return;