diff options
author | monsta <[email protected]> | 2018-04-28 15:38:24 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2018-04-29 15:01:47 +0300 |
commit | 9ff939b5d521f971bee5453a33dce59ca6d7a3f9 (patch) | |
tree | 266193373d809acfac5ed44390236067a2061066 | |
parent | a7dcec2794d1c3e8c9cf84f07df1de607c35671e (diff) | |
download | mate-panel-9ff939b5d521f971bee5453a33dce59ca6d7a3f9.tar.bz2 mate-panel-9ff939b5d521f971bee5453a33dce59ca6d7a3f9.tar.xz |
clock: fix copy/paste error which caused use-after-free
(squashed 7099408402dc41f39e32f4afa3e874e968e879bc + 3b9119b3bb941de61654d45eb693a85f48d56289 for 1.20 branch)
-rw-r--r-- | applets/clock/clock-location-tile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/clock/clock-location-tile.c b/applets/clock/clock-location-tile.c index a4546f71..03717403 100644 --- a/applets/clock/clock-location-tile.c +++ b/applets/clock/clock-location-tile.c @@ -615,7 +615,7 @@ weather_info_setup_tooltip (WeatherInfo *info, ClockLocation *location, GtkToolt g_free (apparent); wind = weather_info_get_wind (info); - if (strcmp (apparent, dgettext ("mate-applets-2.0", "Unknown")) != 0) + if (strcmp (wind, dgettext ("mate-applets-2.0", "Unknown")) != 0) line3 = g_strdup_printf ("%s\n", wind); else line3 = g_strdup (""); |