Remove invalid free and assign toFree to NULL to free only cleans it if needed
Remove invalid free and assign toFree to NULL to free only cleans it if needed

pkg_utils_tokenize does not duplicate memory

Fixes: #1007

en90/pkg,en90/pkg,junovitch/pkg,junovitch/pkg,skoef/pkg,Open343/pkg,khorben/pkg,khorben/pkg,khorben/pkg,Open343/pkg,skoef/pkg