Code

Fix potential memory leak in rrd_flushcached during failure. -- kevin
[rrdtool-all.git] / program / src / rrd_graph.c
index 2df1835d1b4764e25b4d2bbd0f7d25a0c6bfa184..d1f32ddcb650838f6022d6386d79edf81d496a0e 100644 (file)
@@ -4004,12 +4004,7 @@ void rrd_graph_init(
 #ifdef HAVE_TZSET
     tzset();
 #endif
-#ifdef HAVE_SETLOCALE
-    setlocale(LC_TIME, "");
-#ifdef HAVE_MBSTOWCS
-    setlocale(LC_CTYPE, "");
-#endif
-#endif
+
     im->base = 1000;
     im->daemon_addr = NULL;
     im->draw_x_grid = 1;