earth: Fix unhandled return code
Sometimes compiz crashes due to accidentally deleted or corrupt $HOME/.compiz/images/clouds.jpg
file, which can be reproduced by:
- Enable the earth plugin and the "Realtime cloudmap" option in its settings.
- Set "Realtime cloudmap url" to a random non-existing url.
- Delete
$HOME/.compiz/images
. - Reload compiz.
I tried to debug and found that it's caused by dereferencing an unhandled NULL pointer returned from the TransformClouds
function (see attached gdb log). This commit should fix this problem.