[Bugfix][T106][bug-view-222]Fix the memory leak issue of the SIM module and GNSS module

Only Configure: Yes
Affected branch: master
Affected module: sim/gnss
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: yes
Doc Update: No

Change-Id: Ie853a1c329add85fccdf37b1c544bbbdd12176d8
2 files changed