A heap use-after-free issue exists in the `new object()` function within `in dxf.c`. This occurs when the `oleclient` pointer of an OLE2FRAME entity references memory that has already been freed following a DXF import. An attacker can provide a specially crafted DXF file containing an OLE2FRAME entity to cause a crash in `dxfwrite` or similar applications, or to leak the contents of the freed heap into the exported output.