Derp, totally forgot to free memory.