Fixed potential memory leak for no-backing-string transform spec structs
Fixed another memory leak with transform specs