Fixed Memory leak in display pipeline
authorChandramohan C <chandramohan.c@ti.com>
Fri, 6 Sep 2013 06:41:56 +0000 (06:41 +0000)
committerChandramohan <a0131763@ti.com>
Fri, 6 Sep 2013 07:46:57 +0000 (13:16 +0530)
commita09f9653f1c7bd97d22bff089f6d3da30bec6138
tree594a5a00d3cd6ed3faeb89250c3f0ced5767efc5
parent159b325f27b7d1988894ba8d42b2f9226d0d02fc
Fixed Memory leak in display pipeline

Earlier, all output buffers were not being freed
in the display path. Due this, the system will run out
of buffers and app would eventually not get memory resulting
in crash.

This patch fixes this issue of memory leak.
It is also ensured that Buffers are unlocked before freeing.

Signed-off-by: Chandramohan C <chandramohan.c@ti.com>
util/display-kms.c
util/util.c
util/util.h
viddec3test.c