fix codehub warnings

Signed-off-by: guowen666 <guowen24@huawei.com>
This commit is contained in:
guowen666
2022-03-30 02:12:29 +00:00
parent 5c1101f11b
commit 699262e65b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -626,7 +626,7 @@ static int32_t EsdCheckInit(struct DispManager *disp)
ret = EsdResInit(esd, panel);
if (ret != HDF_SUCCESS) {
HDF_LOGE("%s EsdResInit fail", __func__);
esd = NULL;
EsdMemFree(esd);
return HDF_FAILURE;
}
disp->esd = esd;
+1 -1
View File
@@ -227,7 +227,7 @@ int32_t HdfDrmPanelEntryInit(struct HdfDeviceObject *object)
ret = drm_panel_add(&hdfDrmPanel->panel);
if (ret) {
HDF_LOGE("%s drm_panel_add() failed", __func__);
hdfDrmPanel = NULL;
OsalMemFree(hdfDrmPanel);
return ret;
}
ret = mipi_dsi_attach(dsiDev);