svn commit: r202790 - stable/8/sys/dev/acpica
Andriy Gapon
avg at FreeBSD.org
Fri Jan 22 09:34:58 UTC 2010
Author: avg
Date: Fri Jan 22 09:34:57 2010
New Revision: 202790
URL: http://svn.freebsd.org/changeset/base/202790
Log:
MFC r202558: acpi_ec: clean up 'private' ivar when freeing memory
Modified:
stable/8/sys/dev/acpica/acpi_ec.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/xen/xenpci/ (props changed)
Modified: stable/8/sys/dev/acpica/acpi_ec.c
==============================================================================
--- stable/8/sys/dev/acpica/acpi_ec.c Fri Jan 22 09:31:10 2010 (r202789)
+++ stable/8/sys/dev/acpica/acpi_ec.c Fri Jan 22 09:34:57 2010 (r202790)
@@ -469,6 +469,7 @@ acpi_ec_attach(device_t dev)
sc->ec_gpehandle = params->gpe_handle;
sc->ec_uid = params->uid;
sc->ec_suspending = FALSE;
+ acpi_set_private(dev, NULL);
free(params, M_TEMP);
/* Attach bus resources for data and command/status ports. */
More information about the svn-src-stable
mailing list