Opened 4 weeks ago

Closed 2 weeks ago

#5863 closed defect (fixed)

Double free of global external objects

Reported by: Christian Andersson Owned by: Christian Andersson
Priority: major Milestone:
Component: General Version: trunk
Keywords: Cc:

Description

There is a problem with double freeing of the external object if they are global.

Change History (8)

comment:1 Changed 4 weeks ago by Christian Andersson

comment:2 Changed 4 weeks ago by Christian Andersson

comment:3 Changed 4 weeks ago by Christian Andersson

changeset:13830

Updated C codegen for the external object constructor. Related to ticket:5863

comment:4 Changed 4 weeks ago by Christian Andersson

changeset:13831

Added tests for segfaults of external objects. Related to ticket:5863

comment:5 Changed 4 weeks ago by jwedin

Updated a JUnit test. Updated a method for code generation to use a consistent printing style. Renamed jmi_destruct_external_objs to model_destruct_external_objects to avoid confusion with jmi_destruct_external_objects. r13858

comment:6 Changed 3 weeks ago by jwedin

Restored unintended name change of jmi_destruct_external_objects. r13864

comment:7 Changed 3 weeks ago by jwedin

Merging dev-cw-2613 to trunk. r13908

comment:8 Changed 2 weeks ago by jwedin

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.