lefRead.c:1334:63: warning: too few arguments in call to 'LefPaintPolygon'

When keep!=FALSE a malloc list is returned, so this looks like a memory leak.

clang18 default warning cleanup
This commit is contained in:
Darryl L. Miles 2024-10-04 18:42:06 +01:00 committed by Tim Edwards
parent f734e27587
commit ef48e40f39
1 changed files with 1 additions and 1 deletions

View File

@ -1331,7 +1331,7 @@ LefReadGeometry(lefMacro, f, oscale, do_list, is_imported)
rectList = rectNew;
if ((!do_list) && (otherlayer != -1))
LefPaintPolygon(lefMacro, pointList, points, otherlayer);
LefPaintPolygon(lefMacro, pointList, points, otherlayer, FALSE);
}
freeMagic(pointList);
}