Revert "lib/package_config_files.c: fixed a memleak."

This reverts commit c04d54f02047e67d7ed04b960f425db204d755b5.