Fix memory leak when iterating path
This commit is contained in:
@@ -84,7 +84,6 @@ static void smoothPath(BzTileMap *map, PathData *pathData, BzObjectPool *pool) {
|
||||
|
||||
prevIdx++;
|
||||
nextIdx++;
|
||||
bzLogInfo("%llu,%llu", prevIdx, nextIdx);
|
||||
|
||||
if (prevIdx >= currPathLen) {
|
||||
prevPath = prevPath->next;
|
||||
|
||||
Reference in New Issue
Block a user