aboutsummaryrefslogtreecommitdiff
path: root/Documentation/media/uapi/v4l/dev-subdev_files/subdev-image-processing-scaling-multi-source.pdf
diff options
context:
space:
mode:
authorJames Liao <[email protected]>2016-01-08 16:15:33 +0800
committerStephen Boyd <[email protected]>2016-01-29 13:02:51 -0800
commit4974259e18f1fd519d4329babbfefa24852375bb (patch)
treeb722d67e701dda10844e2d5a482f2b6e17cf510a /Documentation/media/uapi/v4l/dev-subdev_files/subdev-image-processing-scaling-multi-source.pdf
parent5fd9c05c846db98319e75496612da24435cee208 (diff)
clk: mediatek: Fix memory leak on clock init fail
mtk_clk_register_composite() may leak memory due to some error handling path don't free all allocated memory. This patch free all pointers that may allocate memory before error return. And it's safe because kfree() can handle NULL pointers. Signed-off-by: James Liao <[email protected]> Reviewed-by: Daniel Kurtz <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'Documentation/media/uapi/v4l/dev-subdev_files/subdev-image-processing-scaling-multi-source.pdf')
0 files changed, 0 insertions, 0 deletions