[Maria-developers] How correctly allocate memory to avoid problems with 2nd execution (instruction)