size_t len = strlen(text);
struct klgd_command *c = klgd_alloc_cmd(len + 1);
memcpy(c->bytes, text, len);
+ kfree(text);
return c;
}
size_t len = strlen(text);
struct klgd_command *c = klgd_alloc_cmd(len + 1);
memcpy(c->bytes, text, len);
+ kfree(text);
return c;
}
size_t len = strlen(text);
struct klgd_command *c = klgd_alloc_cmd(len + 1);
memcpy(c->bytes, text, len);
+ kfree(text);
return c;
}
size_t len = strlen(text);
struct klgd_command *c = klgd_alloc_cmd(len + 1);
memcpy(c->bytes, text, len);
+ kfree(text);
return c;
}