diff options
author | AndyZhou <zhoumy@cn.fujitsu.com> | 2021-12-22 16:00:59 +0800 |
---|---|---|
committer | AndyZhou <zhoumy@cn.fujitsu.com> | 2021-12-22 16:00:59 +0800 |
commit | 471a12ee38098aaac86e5a9a8e256fd88cd67c0a (patch) | |
tree | 68c4d3cef11dc27c0f990e9b07016b9d0b8132fa /grpc-proxy/main-grpc.h | |
parent | 18918978ba5c0f91f05513170c8ca57a93e96722 (diff) |
agl-compositor:Add NULL check after zalloc in src directorymarlin_12.91.0marlin/12.91.012.91.0
There's no NULL check in zalloc.
Add a NULL check after zalloc.
And add memory free before return error.
Bug-AGL: SPEC-4178
Signed-off-by: ZhouMingying <zhoumy@cn.fujitsu.com>
Change-Id: Ic0e0e2007b2897a451507aed100ad01b65695383
Diffstat (limited to 'grpc-proxy/main-grpc.h')
0 files changed, 0 insertions, 0 deletions