mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-12-05 22:08:19 +00:00
Fix a memory leak when daemonizing.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4820 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
dbad6d7f8c
commit
4a5de7fb98
2 files changed
+2
No files matched your search
@@ -21,6 +21,7 @@ SVN HEAD
|
|||||||
Module lm93: Fix an array overrun (2.6 backport)
|
Module lm93: Fix an array overrun (2.6 backport)
|
||||||
Program sensord: Fix f71805f fans
|
Program sensord: Fix f71805f fans
|
||||||
Syncronize the version with lm-sensors
|
Syncronize the version with lm-sensors
|
||||||
|
Fix a memory leak when daemonizing
|
||||||
Program sensors: Fix a memory leak on error (with -u)
|
Program sensors: Fix a memory leak on error (with -u)
|
||||||
Add sch311x support
|
Add sch311x support
|
||||||
Hide error on missing dme1737 fan and pwm
|
Hide error on missing dme1737 fan and pwm
|
||||||
|
|||||||
@@ -164,6 +164,7 @@ daemonize
|
|||||||
} else if (pid != 0) {
|
} else if (pid != 0) {
|
||||||
fprintf (file, "%d\n", pid);
|
fprintf (file, "%d\n", pid);
|
||||||
fclose (file);
|
fclose (file);
|
||||||
|
unloadLib ();
|
||||||
exit (EXIT_SUCCESS);
|
exit (EXIT_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user