task03_freeing memory