projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7854ea0
)
nouveau/gsp: free acpi object after use
author
Dave Airlie
<airlied@gmail.com>
Fri, 22 Dec 2023 04:31:53 +0000
(14:31 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Fri, 5 Jan 2024 02:27:53 +0000
(12:27 +1000)
This fixes a memory leak for the acpi dod object.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20231222043308.3090089-5-airlied@gmail.com
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c
b/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c
index
365dda6
..
1a6d7c8
100644
(file)
--- a/
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c
+++ b/
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c
@@
-1226,6
+1226,7
@@
r535_gsp_acpi_dod(acpi_handle handle, DOD_METHOD_DATA *dod)
}
dod->status = 0;
+ kfree(output.pointer);
}
#endif