msm: vidc: Fix various NULL pointer accesses, memory leaks

This commit fixes various NULL pointer and memory leak bugs.

Change-Id: I3b3ac40b5e440b9665858913921a06de14741b6f
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
10 files changed