Fixed crash . Free() was the culprit. It wants malloc or calloc or realloc but we allocate using assembly routine