smacker: Free memory properly if the init function fails