I'm using NDK with my android code.
while using malloc in one method, I'm getting bellow error with crash of my app.
A/libc: heap corruption detected by dlfree
A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 10197
Please suggest me what should i do to resolve this error.