MFC r202558: acpi_ec: clean up 'private' ivar when freeing memory
This commit is contained in:
parent
cd58d51b0f
commit
773425fade
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/8/; revision=202790
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user