[PATCH 1/1] kernelbase: Don't free pathname if query failed.