Skip to content

Commit 103d7b5

Browse files
committed
TIMELS RAM deleted on 'end'
1 parent 2706d41 commit 103d7b5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/SparkFun_u-blox_GNSS_Arduino_Library.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,12 @@ void SFE_UBLOX_GNSS::end(void)
8585
delete[] currentGeofenceParams;
8686
currentGeofenceParams = NULL; // Redundant?
8787
}
88+
89+
if (packetUBXNAVTIMELS != NULL)
90+
{
91+
delete[] packetUBXNAVTIMELS;
92+
packetUBXNAVTIMELS = NULL; // Redundant?
93+
}
8894

8995
if (packetUBXNAVPOSECEF != NULL)
9096
{

0 commit comments

Comments
 (0)