harlan icon indicating copy to clipboard operation
harlan copied to clipboard

Strings should be region allocated

Open eholk opened this issue 9 years ago • 1 comments

Right now we have no way of freeing strings once they've been allocated. We don't do a lot of dynamic string creation yet, so this hasn't caused major problems yet, but it will.

Along with this, we should create a static region where compile-time constant strings go.

eholk avatar Apr 27 '15 20:04 eholk

For now we can cheat and call free() directly.

eholk avatar Apr 27 '15 20:04 eholk