MCPcopy Create free account
hub / github.com/ClusterLabs/pacemaker / free_async_command

Function free_async_command

fencing/commands.c:130–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130static void free_async_command(async_command_t *cmd)
131{
132 if (!cmd) {
133 return;
134 }
135 cmd_list = g_list_remove(cmd_list, cmd);
136
137 g_list_free_full(cmd->device_list, free);
138 free(cmd->device);
139 free(cmd->action);
140 free(cmd->victim);
141 free(cmd->remote_op_id);
142 free(cmd->client);
143 free(cmd->client_name);
144 free(cmd->origin);
145 free(cmd->op);
146 free(cmd);
147}
148
149static async_command_t *create_async_command(xmlNode *msg)
150{

Callers 5

create_async_commandFunction · 0.85
free_deviceFunction · 0.85
st_child_doneFunction · 0.85
handle_requestFunction · 0.85

Calls 1

g_list_free_fullFunction · 0.85

Tested by

no test coverage detected