petrogly-ph / functional-dag

This is a key library that is used for the infrastructure for visual cognitive architectures.
MIT License
0 stars 0 forks source link

HOTFIX: Segfaulting library loading #17

Closed ndepalma closed 10 months ago

ndepalma commented 10 months ago

Unfortunately when memory is allocated in a dynamic link library and freed in the main executable space, a segfault is thrown. Since in most use cases these strings are on the string table of the dynamic library, we don't actually need to free them. What I'm doing now is to jus tset the pointer to the string table and not free the memory.