Loading drivers/media/platform/msm/vidc/msm_vidc_common.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -981,7 +981,7 @@ static void handle_session_prop_info(enum hal_command_response cmd, void *data) } } getprop->data = kmemdup(&response->data.property, getprop->data = kmemdup(&response->data.property, response->size, GFP_KERNEL); sizeof(union hal_get_property), GFP_KERNEL); if (!getprop->data) { if (!getprop->data) { dprintk(VIDC_ERR, "%s: kmemdup failed\n", __func__); dprintk(VIDC_ERR, "%s: kmemdup failed\n", __func__); kfree(getprop); kfree(getprop); Loading Loading
drivers/media/platform/msm/vidc/msm_vidc_common.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -981,7 +981,7 @@ static void handle_session_prop_info(enum hal_command_response cmd, void *data) } } getprop->data = kmemdup(&response->data.property, getprop->data = kmemdup(&response->data.property, response->size, GFP_KERNEL); sizeof(union hal_get_property), GFP_KERNEL); if (!getprop->data) { if (!getprop->data) { dprintk(VIDC_ERR, "%s: kmemdup failed\n", __func__); dprintk(VIDC_ERR, "%s: kmemdup failed\n", __func__); kfree(getprop); kfree(getprop); Loading