Use string_freez instead of freez in rrdhost_init_timezone (#13798)
use string_freez instead of freez
Emmanuel Vasilakis committed
Oct 10, 2022 at 16:43 UTC
8f2337dbfc605b6f271931c9864a447c2b37e3df
1 file changed
+1
-1
database/rrdhost.c
+1
-1
@@ -175,7 +175,7 @@ static inline void rrdhost_init_timezone(RRDHOST *host, const char *timezone, co
175
176
old = (void *)host->abbrev_timezone;
177
host->abbrev_timezone = string_strdupz((abbrev_timezone && *abbrev_timezone) ? abbrev_timezone : "UTC");
178
- freez(old);
178
+ string_freez(old);
179
180
host->utc_offset = utc_offset;
181
}