orangeduck / BuildYourOwnLisp

Learn C and build your own programming language in under 1000 lines of code!
http://www.buildyourownlisp.com/
Other
2.9k stars 394 forks source link

Fix double free when dividing by zero. #32

Closed radiofreejohn closed 10 years ago

radiofreejohn commented 10 years ago

Reported on #31 lval_del(a) is called twice when dividing by zero. Removing the lval_del on line 459 since it's called on 471.