P J P 于2021年5月5日周三 下午3:39写道:
>
> +-- On Tue, 4 May 2021, Li Qiang wrote --+
> | Check whether the 'res' has already been attach_backing to avoid
> | memory leak.
> |
> | Signed-off-by: Li Qiang
> | ---
> | contrib/vhost-user-gpu/vhost-user-gpu.c | 5 +
> | 1 file changed, 5 insertions(+)
> |
+-- On Tue, 4 May 2021, Li Qiang wrote --+
| Check whether the 'res' has already been attach_backing to avoid
| memory leak.
|
| Signed-off-by: Li Qiang
| ---
| contrib/vhost-user-gpu/vhost-user-gpu.c | 5 +
| 1 file changed, 5 insertions(+)
|
| diff --git a/contrib/vhost-user-gpu/vhost-use
Check whether the 'res' has already been attach_backing to avoid
memory leak.
Signed-off-by: Li Qiang
---
contrib/vhost-user-gpu/vhost-user-gpu.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/contrib/vhost-user-gpu/vhost-user-gpu.c
b/contrib/vhost-user-gpu/vhost-user-gpu.c
index b5e1