projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drm/amd: fix potential memleak in err branch
[linux-2.6-microblaze.git]
/
drivers
/
gpu
/
drm
/
amd
/
amdkfd
/
kfd_process.c
diff --git
a/drivers/gpu/drm/amd/amdkfd/kfd_process.c
b/drivers/gpu/drm/amd/amdkfd/kfd_process.c
index
d27221d
..
0e0c42e
100644
(file)
--- a/
drivers/gpu/drm/amd/amdkfd/kfd_process.c
+++ b/
drivers/gpu/drm/amd/amdkfd/kfd_process.c
@@
-428,6
+428,7
@@
struct kfd_process *kfd_create_process(struct file *filep)
(int)process->lead_thread->pid);
if (ret) {
pr_warn("Creating procfs pid directory failed");
+ kobject_put(process->kobj);
goto out;
}