hwc2: Do not delete hwc_session

HWC session is derived from hwc2_device and is deleted by
libhardware.

CRs-Fixed: 2023877
Change-Id: Ic983a232f0ca417c0b47d5ea3c59e7374d7e7fea
diff --git a/sdm/libs/hwc2/hwc_session.cpp b/sdm/libs/hwc2/hwc_session.cpp
index 31c2fa6..bf52ef6 100644
--- a/sdm/libs/hwc2/hwc_session.cpp
+++ b/sdm/libs/hwc2/hwc_session.cpp
@@ -188,7 +188,6 @@
 
     int status = hwc_session->Init();
     if (status != 0) {
-      delete hwc_session;
       return status;
     }
 
@@ -210,7 +209,6 @@
   HWCSession *hwc_session = static_cast<HWCSession *>(composer_device);
 
   hwc_session->Deinit();
-  delete hwc_session;
 
   return 0;
 }