commit | 315da2cf903322c6207cc863ccadaed79cece9fe | [log] [tgz] |
---|---|---|
author | Govindaraj Rajagopal <grajagop@codeaurora.org> | Wed Oct 16 17:32:58 2019 +0530 |
committer | Govindaraj Rajagopal <grajagop@codeaurora.org> | Wed Oct 16 17:47:45 2019 +0530 |
tree | e62357b21291a11cb00b7f8786e1b334317cbf6d | |
parent | 8a6d8f2e645c1081ca310b151c5181207f4cfc7a [diff] |
mm-video-v4l2: venc: add error handling for init failure If component_init then framework will not invoke deinit sequence. get_buffer_req on output port failed, so session was not closed and that is reported as leaks. So added error hadling to cleanup instance, if there any failure at component_init. Change-Id: I0e663c8c6d05eb149a3fbbe7fcfa96fef3ae5b4e Signed-off-by: Govindaraj Rajagopal <grajagop@codeaurora.org>