Index: /lm-sensors/branches/lm-sensors-3.0.0/prog/sensors/main.c
===================================================================
--- /lm-sensors/branches/lm-sensors-3.0.0/prog/sensors/main.c	(revision 4902)
+++ /lm-sensors/branches/lm-sensors-3.0.0/prog/sensors/main.c	(revision 4973)
@@ -103,4 +103,5 @@
 	if (err) {
 		fprintf(stderr, "sensors_init: %s\n", sensors_strerror(err));
+		fclose(config_file);
 		return 1;
 	}
Index: /lm-sensors/branches/lm-sensors-3.0.0/CHANGES
===================================================================
--- /lm-sensors/branches/lm-sensors-3.0.0/CHANGES	(revision 4971)
+++ /lm-sensors/branches/lm-sensors-3.0.0/CHANGES	(revision 4973)
@@ -4,4 +4,5 @@
 SVN HEAD
   sensord: Reload config on SIGHUP rather than automatically
+  sensors: Fix file handle leak on library initialization error
   sensors-detect: Fix SMSC LPC47B357/M967 detection
                   Select the right driver for FSC chips
