resolved memory leak, free up memory previously allocated