Sean Carnahan
Fix internal server error: Add memory management and improve error handling
e2839df