diff --git a/daemon/cmd_load_studio.c b/daemon/cmd_load_studio.c index 7bc095a6..4e472b47 100644 --- a/daemon/cmd_load_studio.c +++ b/daemon/cmd_load_studio.c @@ -975,7 +975,7 @@ bool ladish_command_load_studio(void * call_ptr, struct ladish_cqueue * queue_pt goto fail_free_name; } - cmd_ptr = ladish_command_new(sizeof(struct ladish_command)); + cmd_ptr = ladish_command_new(sizeof(struct ladish_command_load_studio)); if (cmd_ptr == NULL) { log_error("ladish_command_new() failed.");