Re: [PATCH libdrm 1/2] amdgpu: free flink bo in bo import

2018-08-14 Thread Zhang, Jerry (Junwei)
On 08/14/2018 04:26 PM, Christian König wrote: Am 14.08.2018 um 05:00 schrieb Junwei Zhang: Fix potential memory leak when handle flink bo in bo import. Free the flink bo after bo import and in error handling. Signed-off-by: Junwei Zhang Reviewed-by: Christian König for the series. I

Re: [PATCH libdrm 1/2] amdgpu: free flink bo in bo import

2018-08-14 Thread Christian König
Am 14.08.2018 um 05:00 schrieb Junwei Zhang: Fix potential memory leak when handle flink bo in bo import. Free the flink bo after bo import and in error handling. Signed-off-by: Junwei Zhang Reviewed-by: Christian König for the series. I assume you don't have commit rights to the upstream

[PATCH libdrm 1/2] amdgpu: free flink bo in bo import

2018-08-13 Thread Junwei Zhang
Fix potential memory leak when handle flink bo in bo import. Free the flink bo after bo import and in error handling. Signed-off-by: Junwei Zhang --- amdgpu/amdgpu_bo.c | 5 + 1 file changed, 5 insertions(+) diff --git a/amdgpu/amdgpu_bo.c b/amdgpu/amdgpu_bo.c index b790e9b..d9556ec 100644