OSDN Git Service

amdkfd: Fix memory leak on process deregistration
authorJay Cornwall <jay.cornwall@amd.com>
Thu, 20 Nov 2014 17:52:16 +0000 (11:52 -0600)
committerOded Gabbay <oded.gabbay@amd.com>
Thu, 20 Nov 2014 17:52:16 +0000 (11:52 -0600)
commitf5d896bbd03a03bef436d9358599b50962095f38
tree5c929f5c574914d02c80877ad246e5f1db303b35
parent5cd78de5267f36c090043836649b31c12533bbe9
amdkfd: Fix memory leak on process deregistration

struct device_process_node was allocated during process registration but
not released at process deregistration.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Jay Cornwall <jay.cornwall@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c