table: Pit::deleteInOutRecords accepts Entry* instead of shared_ptr

refs #3164

Change-Id: I512da6200d4d744d5631fc78900795d19ad5dd52
diff --git a/daemon/table/cleanup.cpp b/daemon/table/cleanup.cpp
index c31ccc4..104bdf1 100644
--- a/daemon/table/cleanup.cpp
+++ b/daemon/table/cleanup.cpp
@@ -40,7 +40,7 @@
     }
 
     for (const auto& pitEntry : nte.getPitEntries()) {
-      pit.deleteInOutRecords(pitEntry, face);
+      pit.deleteInOutRecords(pitEntry.get(), face);
     }
 
     if (!nte.hasTableEntries()) {