Subject: CVS commit: src/sys/dev/sysmon
To: None <source-changes@NetBSD.org>
From: Juan Romero Pardines <xtraeme@netbsd.org>
List: source-changes
Date: 09/25/2007 19:27:08
Module Name: src
Committed By: xtraeme
Date: Tue Sep 25 19:27:08 UTC 2007
Modified Files:
src/sys/dev/sysmon: sysmon_power.c
Log Message:
- Don't use _nocopy in prop_dictionary_set_cstring, the string is part
of another object that will be released shortly.
- Fix a memleak: add sysmon_power_destroy_dictionary() and remove
all objects that are currently in the dictionary and finally release
the dictionary.
To generate a diff of this commit:
cvs rdiff -r1.24 -r1.25 src/sys/dev/sysmon/sysmon_power.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.