[PATCH 1/1] ieframe: Fix memory leak and possible reference leak