Skip to content

postpos readpreceph: omit alloc and free of the sbas ephemeris#251

Merged
rtklibexplorer merged 1 commit intortklibexplorer:demo5from
ourairquality:readpreceph-omit-seph
Dec 16, 2024
Merged

postpos readpreceph: omit alloc and free of the sbas ephemeris#251
rtklibexplorer merged 1 commit intortklibexplorer:demo5from
ourairquality:readpreceph-omit-seph

Conversation

@ourairquality
Copy link

readpreceph() and freepreceph() need not allocate and free the sbas ephemeris as this is done by readobsnav() and freeobsnav(), and readobsnav() was overwriting the data structures setup by readpreceph() without freeing them leading a loss of memory.

readpreceph() and freepreceph() need not allocate and free the sbas
ephemeris as this is done by readobsnav() and freeobsnav(), and
readobsnav() was overwriting the data structures setup by
readpreceph() without freeing them leading a loss of memory.
@ourairquality ourairquality force-pushed the readpreceph-omit-seph branch from b5e06d3 to f10fa74 Compare June 6, 2024 00:06
@ourairquality
Copy link
Author

Fwiw this should be a safe PR to merge, and quietens a loss of memory warning.

@rtklibexplorer rtklibexplorer merged commit 5a52446 into rtklibexplorer:demo5 Dec 16, 2024
@ourairquality ourairquality deleted the readpreceph-omit-seph branch December 17, 2024 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants