Added heap_4.c to fix mem. err
Merge pull request #2 from onikitenko/free-mem-fix

Added heap_4.c to fix mem. err