Allocating state in the heap

This commit is contained in:
Sergio Martin 2024-01-17 07:09:34 +01:00
parent a07839e5af
commit e0973cd946
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ int main(int argc, char *argv[])
fflush(stdout);
// Serializing initial state
uint8_t currentState[stateSize];
uint8_t* currentState = (uint8_t*) malloc (stateSize);
e.serializeState(currentState);
// Actually running the sequence