diff --git a/CHANGES b/CHANGES index 74b93670..5974c54e 100644 --- a/CHANGES +++ b/CHANGES @@ -55,6 +55,7 @@ SVN HEAD Update URI Program sensord: Syncronize the version with lm-sensors Drop all the chip-specific support + Fix a memory leak when daemonizing Program sensors: Drop all the chip-specific support Fix alignment of alarm for one-limit temperatures Drop option -U diff --git a/prog/sensord/sensord.c b/prog/sensord/sensord.c index b2a8bf78..85baf7c4 100644 --- a/prog/sensord/sensord.c +++ b/prog/sensord/sensord.c @@ -164,6 +164,7 @@ daemonize } else if (pid != 0) { fprintf (file, "%d\n", pid); fclose (file); + unloadLib (); exit (EXIT_SUCCESS); }