mirror of
https://github.com/BertoldVdb/ZoneDetect.git
synced 2026-04-04 10:25:52 +00:00
Merge 1dc78b572d into 082fa6b148
This commit is contained in:
commit
26d5ee8bfb
1 changed files with 2 additions and 1 deletions
|
|
@ -618,6 +618,7 @@ float* ZDPolygonToList(const ZoneDetect *library, uint32_t polygonId, size_t* le
|
|||
flData[i] = ZDFixedPointToFloat(lat, 90, library->precision);
|
||||
flData[i+1] = ZDFixedPointToFloat(lon, 180, library->precision);
|
||||
}
|
||||
free(data);
|
||||
|
||||
if(lengthPtr) {
|
||||
*lengthPtr = length;
|
||||
|
|
@ -1257,4 +1258,4 @@ done:
|
|||
void ZDHelperSimpleLookupStringFree(char* str)
|
||||
{
|
||||
free(str);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue