| 97 | } |
| 98 | |
| 99 | static 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. */ |
no outgoing calls
no test coverage detected