il_alloc: fix free memory function
Merge pull request #1 from rndfax/master

il_alloc: fix free memory function