Fixed numerous memory leaks in the bindings system due to ddstrings not being free'd. Str_Free doesn't actually free all memory used with ddstring_t, it only frees the text string itself and zeros the ddstring_t so it can be reused. Str_Delete is the way to destroy the lot. Perhaps the string interface naming needs a rethink?
Fixed numerous memory leaks in the bindings system due to ddstrings not being free'd. Str_Free doesn't actually free all memory used with ddstring_t, it only frees the text string itself and zeros the ddstring_t so it can be reused. Str_Delete is the way to destroy the lot.
Perhaps the string interface naming needs a rethink?