author | Chandramohan C <chandramohan.c@ti.com> | |
Fri, 6 Sep 2013 06:41:56 +0000 (06:41 +0000) | ||
committer | Chandramohan <a0131763@ti.com> | |
Fri, 6 Sep 2013 07:46:57 +0000 (13:16 +0530) | ||
commit | a09f9653f1c7bd97d22bff089f6d3da30bec6138 | |
tree | 594a5a00d3cd6ed3faeb89250c3f0ced5767efc5 | tree | snapshot (tar.xz tar.gz zip) |
parent | 159b325f27b7d1988894ba8d42b2f9226d0d02fc | commit | diff |
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>
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 | diff | blob | history | |
util/util.c | diff | blob | history | |
util/util.h | diff | blob | history | |
viddec3test.c | diff | blob | history |