fix leak (not present in trunk)