Release memory.

Signed-off-by: Thiago Farina <tfarina@chromium.org>