Merge in 5.11
[civicrm-core.git] / CRM / Campaign / BAO / Survey.php
index 95987c774a288ec7745442f436c5c3c893502ed3..58c45b25e234460fa63543e676bcfc04c27dde16 100644 (file)
@@ -504,7 +504,6 @@ SELECT  survey.id    as id,
         );
         $voterDetails[$contact->contactId]['contact_type'] = $image;
       }
-      $contact->free();
     }
 
     return $voterDetails;