Changeset 4820

Show
Ignore:
Timestamp:
09/19/07 17:20:25 (6 years ago)
Author:
khali
Message:

Fix a memory leak when daemonizing.

Location:
lm-sensors/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/CHANGES

    r4812 r4820  
    2222  Program sensord: Fix f71805f fans 
    2323                   Syncronize the version with lm-sensors 
     24                   Fix a memory leak when daemonizing 
    2425  Program sensors: Fix a memory leak on error (with -u) 
    2526                   Add sch311x support 
  • lm-sensors/trunk/prog/sensord/sensord.c

    r2503 r4820  
    165165    fprintf (file, "%d\n", pid); 
    166166    fclose (file); 
     167    unloadLib (); 
    167168    exit (EXIT_SUCCESS); 
    168169  }