Opened 2 years ago

Closed 2 years ago

#437 closed defect (fixed)

Don't leak space when using sprintf in prim library.

Reported by: benl Owned by:
Priority: high Milestone: 0.5.0
Component: Runtime System Version: 0.4.2
Keywords: Cc:

Description

The basic int/float etc conversion to string just calls malloc and then never frees the space. This was done before we had a GC, but now we do we should alloca into the stack then copy the real data into the real DDC heap.

Change History (1)

comment:1 Changed 2 years ago by benl

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.