Merge pull request #15208 from civicrm/5.17
[civicrm-core.git] / CRM / Utils / System / Drupal8.php
index 4a54bdc799c63f96b5f3250da46f9f3f22e417cf..38ed2933c671bca40bbd577285f79714c08ba2a1 100644 (file)
@@ -616,9 +616,6 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase {
       else {
         $contactMatching++;
       }
-      if (is_object($match)) {
-        $match->free();
-      }
     }
 
     return [