at v206 11 lines 327 B view raw
1diff --git a/src/devices/devfreq.cpp b/src/devices/devfreq.cpp 2index d2e56e3..4de5c9b 100644 3--- a/src/devices/devfreq.cpp 4+++ b/src/devices/devfreq.cpp 5@@ -247,6 +247,7 @@ void create_all_devfreq_devices(void) 6 fprintf(stderr, "Devfreq not enabled\n"); 7 is_enabled = false; 8 closedir(dir); 9+ dir = NULL; 10 return; 11 }