MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / daemon_string_dup

Function daemon_string_dup

src/daemon/daemon.c:92–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92static char *daemon_string_dup(const char *value) {
93 size_t length = strlen(value);
94 char *copy = malloc(length + 1);
95 if (copy) {
96 memcpy(copy, value, length + 1);
97 }
98 return copy;
99}
100
101static void free_subscriptions(cbm_daemon_subscription_t *subscription) {
102 while (subscription) {

Callers 2

cbm_daemon_job_subscribeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected