MCPcopy Create free account
hub / github.com/Netis/cloud-probe / free_task_error

Function free_task_error

cpworker/src/task.c:99–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99static void free_task_error(task_error_t *task_error)
100{
101 if (!task_error)
102 return;
103
104 if (task_error->fingerprint)
105 free(task_error->fingerprint);
106 free(task_error);
107}
108
109/* Allocate a task wrapper node. fingerprint may be NULL (initial config allows it).
110 * Does not take ownership of cap_task. Returns NULL on allocation failure. */

Callers 3

task_error_newFunction · 0.85
task_manager_destroyFunction · 0.85
destroy_task_error_listFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected