Use correct free function for search results