diff --git a/src/mbpfan.c b/src/mbpfan.c
index be40e3e..2be29c8 100644
--- a/src/mbpfan.c
+++ b/src/mbpfan.c
@@ -171,6 +171,7 @@ t_sensors *retrieve_sensors()
if (errno == EISDIR) {
+ free(path_begin);
path_begin = smprintf("%s/temp", hwmon_path);
if(verbose) {
Plug little leak from reused variable
e8850f682c1256ea7e50c2367f706d4dfd236e5a
Andrew Gaul <andrew@gaul.org> · 2017-10-04T07:38 ·
browse files at this commit
parents:
ce32184