mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
MFC r202558: acpi_ec: clean up 'private' ivar when freeing memory
This commit is contained in:
parent
cd58d51b0f
commit
773425fade
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue