diff --git a/cmd.c b/cmd.c index 3753ea1..c2f6fbd 100644 --- a/cmd.c +++ b/cmd.c @@ -35,7 +35,6 @@ cmd_complete_cb(struct task *t, time_t uuid, uint32_t id, int ret) char str[128]; sprintf(str, "/tmp/ucentral.cmd.%010ld", uuid); unlink(str); - free(t); if (ret) result_send_error(1, "command returned an error code", ret, id); }