Fix leak when setting a fully-qualified name