Menu

#2 lass_putenv shouldn't free memory so soon.

lass-1.1
open
None
5
2008-11-10
2008-11-10
No

When setting environment variables using putenv, you need to keep the string alive until the end of the process, or until the variable is changed. Keep a map to hold this memory chunks alive.

Discussion


Log in to post a comment.