[oasl]: fix the mem debug condition

Change-Id: Id790199e3a32a9ca93bcb382f473aa59c28c0ecc
Signed-off-by: Randy Li <randy.li@rock-chips.com>
This commit is contained in:
Randy Li
2018-07-16 17:14:09 +08:00
committed by Herman Chen
parent ee08efc836
commit 6fe240a469

View File

@@ -591,7 +591,7 @@ void MppMemService::dump(const char *caller)
mpp_log("mpp_mem node count %d:\n", nodes_cnt);
if (nodes_cnt) {
for (i = 0; i < nodes_max; i++, node++) {
if (!node->index < 0)
if (node->index < 0)
continue;
mpp_log("mpp_memory index %d caller %-32s size %-8u ptr %p\n",
@@ -603,7 +603,7 @@ void MppMemService::dump(const char *caller)
mpp_log("mpp_mem free count %d:\n", frees_cnt);
if (frees_cnt) {
for (i = 0; i < frees_max; i++, node++) {
if (!node->index < 0)
if (node->index < 0)
continue;
mpp_log("mpp_freed index %d caller %-32s size %-8u ptr %p\n",