Commit a9b9b42b authored by Dave Airlie's avatar Dave Airlie Committed by Dave Airlie

nouveau/gsp: free acpi object after use

This fixes a memory leak for the acpi dod object.
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231222043308.3090089-5-airlied@gmail.com
parent 7854ea0e
......@@ -1226,6 +1226,7 @@ r535_gsp_acpi_dod(acpi_handle handle, DOD_METHOD_DATA *dod)
}
dod->status = 0;
kfree(output.pointer);
}
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment