Don't leak memory when duplicating a NULL signature
Minor cleanup