daemon: fix memory corruption

This commit is contained in:
Nedko Arnaudov 2009-12-05 17:55:13 +02:00
parent 2bbcd652a8
commit dc703fd497
1 changed files with 1 additions and 1 deletions

View File

@ -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.");