diff options
-rw-r--r-- | libgweather/gweather-location.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgweather/gweather-location.c b/libgweather/gweather-location.c index a5bd121..5e37f2f 100644 --- a/libgweather/gweather-location.c +++ b/libgweather/gweather-location.c @@ -1458,7 +1458,7 @@ gweather_location_common_deserialize (GWeatherLocation *world, * return it directly */ if (station_code[0] == '@') - return candidates->data; + return gweather_location_ref (candidates->data); /* If we don't have coordinates, fallback immediately to making up * a location |