Thanks! That's exactly what I was misunderstanding. I was worried that if I just freed the struct and it had pointers in it, the items pointed to would be orphaned and it would be a memory leak.
...
Type: Posts; User: maxtothemax
Thanks! That's exactly what I was misunderstanding. I was worried that if I just freed the struct and it had pointers in it, the items pointed to would be orphaned and it would be a memory leak.
...
abstract
When calling "free" on a string within a struct, I get a segfault.
I'm adding support for the Lua scripting language into an existing game engine (the CRX engine which powers Alien...