mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-26 12:24:33 +00:00
Fix a memory leak when daemonizing.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4815 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
9730c57395
commit
347b0d1965
2 files changed
+2
No files matched your search
@@ -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
|
||||
|
||||
@@ -164,6 +164,7 @@ daemonize
|
||||
} else if (pid != 0) {
|
||||
fprintf (file, "%d\n", pid);
|
||||
fclose (file);
|
||||
unloadLib ();
|
||||
exit (EXIT_SUCCESS);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user