Don't leak DoodadInfo's from GeometryInfo
Signed-off-by: Ran Benita <ran234@gmail.com>master
parent
c800c60ace
commit
c24d97e45e
|
@ -663,6 +663,10 @@ ClearGeometryInfo(GeometryInfo * info)
|
|||
FreeShapes(info->shapes, info);
|
||||
if (info->sections)
|
||||
FreeSections(info->sections, info);
|
||||
if (info->doodads)
|
||||
FreeDoodads(info->doodads, NULL, info);
|
||||
if (info->dfltDoodads)
|
||||
FreeDoodads(info->dfltDoodads, NULL, info);
|
||||
info->widthMM = 0;
|
||||
info->heightMM = 0;
|
||||
info->dfltCornerRadius = 0;
|
||||
|
|
Loading…
Reference in New Issue