Fix a libgweather leak
While looking at this code to see if any changes were needed for the libgweather 40 API break (#119 (closed); apparently not) I noticed a small leak.
Fix the leak, and then use g_autoptr
to simplify the code. (The leak fix is separate so it can be backported.)
Edited by Will Thompson