Fix 2 resource leaks issues of coverity scan, actually the return of NULL pointer is expected, but there is no harm done to free a NULL pointer in our design, so adding them to pass the scan. Fixes #33802 CID: 220434 Fixes #33785 CID: 220451 Signed-off-by: Enjia Mai <enjiax.mai@intel.com> |
||
|---|---|---|
| .. | ||
| main.c | ||