Utils: Fixed a tiny memory leak in getCompability