diff options
author | Sunita Nadampalli | 2015-02-19 12:01:12 -0600 |
---|---|---|
committer | Sunita Nadampalli | 2015-02-19 12:12:28 -0600 |
commit | 968acc5b54491736e6ad543685b3778be003ea83 (patch) | |
tree | b7945a5057d29bed68e91e30a1800713359e6ad8 | |
parent | bb5786d7ce8ab452ab1edc867e4456d1abf08428 (diff) | |
download | repo-libdce-968acc5b54491736e6ad543685b3778be003ea83.tar.gz repo-libdce-968acc5b54491736e6ad543685b3778be003ea83.tar.xz repo-libdce-968acc5b54491736e6ad543685b3778be003ea83.zip |
libdce[ANDROID]: Fix bug in omap buffer object free logic3.00.07.03
For the omap_bo_del function call, we need to pass
the bo object rather than the mmaped pointer.
Change-Id: I3b011594b0210ec6f95f3f4644835594a80ace28
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
-rw-r--r-- | memplugin_android.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/memplugin_android.c b/memplugin_android.c index 307dc9e..7235de2 100644 --- a/memplugin_android.c +++ b/memplugin_android.c | |||
@@ -201,7 +201,7 @@ void memplugin_free_noheader(MemHeader *memHdr) | |||
201 | } | 201 | } |
202 | 202 | ||
203 | /*Finally, Delete the buffer object*/ | 203 | /*Finally, Delete the buffer object*/ |
204 | omap_bo_del((struct omap_bo *)h->ptr); | 204 | omap_bo_del((struct omap_bo *)h->handle); |
205 | 205 | ||
206 | return; | 206 | return; |
207 | } | 207 | } |