[Xfce4-commits] [panel-plugins/xfce4-sensors-plugin] 01/01: Fix memory leak when hddtemp is compiled in but doesn't work
noreply at xfce.org
noreply at xfce.org
Tue Mar 28 23:47:15 CEST 2017
This is an automated email from the git hooks/post-receive script.
timystery pushed a commit to branch master
in repository panel-plugins/xfce4-sensors-plugin.
commit 6ba2367cbe573d80858dd9c26a268e7c42627631
Author: Fabian <timystery at arcor.de>
Date: Tue Mar 28 23:46:36 2017 +0200
Fix memory leak when hddtemp is compiled in but doesn't work
---
lib/hddtemp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/hddtemp.c b/lib/hddtemp.c
index b6bdc43..20fbee1 100644
--- a/lib/hddtemp.c
+++ b/lib/hddtemp.c
@@ -430,6 +430,7 @@ initialize_hddtemp (GPtrArray *arr_ptr_chips, gboolean *suppressmessage)
result = 2;
}
else {
+ free_chip(ptr_chip, NULL);
result = 0;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list