Fix memory leak in constructors.