Correct error after memleak after

stqism/ToxCore#a7aa042d5da24a17f1fb7bd15963926f8698398d