bpo-39307: Fix memory leak on error path in parsetok (GH-17953)

(cherry picked from commit 7ba6f18de2582755ae31888ba6a4237d96dddc48)

Co-authored-by: Alex Henrie <alexhenrie24@gmail.com>
1 file changed