Avoid memory leaks
Try to avoid memory leak