Fully init allocated instructions.
This commit is contained in:
parent
0a09ed21fa
commit
1915b107ea
@ -56,7 +56,10 @@ guac_instruction* guac_instruction_alloc() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Initialize state */
|
/* Initialize state */
|
||||||
|
instruction->opcode = NULL;
|
||||||
|
instruction->argc = 0;
|
||||||
instruction->state = GUAC_INSTRUCTION_PARSE_LENGTH;
|
instruction->state = GUAC_INSTRUCTION_PARSE_LENGTH;
|
||||||
|
instruction->__elementc = 0;
|
||||||
|
|
||||||
return instruction;
|
return instruction;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user