Fixes memory checking bug on syscall structs