Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bnjbvr/trinity
/ trinity_module_string_free
Function
trinity_module_string_free
c-hello-world-module/trinity_module.c:86–92 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
84
}
85
86
void trinity_module_string_free(trinity_module_string_t *ret) {
87
if (ret->len > 0) {
88
free(ret->ptr);
89
}
90
ret->ptr = NULL;
91
ret->len = 0;
92
}
93
94
// Component Adapters
95
Callers
2
trinity_module_message_free
Function · 0.85
trinity_module_option_string_free
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected