path = malloc(strlen(dir)+1+strlen("log")+1);
sprintf(path, "%s/%s", dir, "log");
- log_open(path, LOG_INFO);
+ log_open(path);
free(dir);
free(path);
#ifdef HAVE_LIBATIADL
amd_cleanup();
#endif
+#ifdef HAVE_REMOTE_SUPPORT
+ rsensor_cleanup();
+#endif
psensor_list_free(ui.sensors);
ui.sensors = NULL;