]> git.eshelyaron.com Git - emacs.git/commit
Fix reader memory leak upon error (bug#56623)
authorMattias Engdegård <mattiase@acm.org>
Mon, 29 Aug 2022 15:44:31 +0000 (17:44 +0200)
committerMattias Engdegård <mattiase@acm.org>
Mon, 29 Aug 2022 15:48:47 +0000 (17:48 +0200)
commitc0bb1aac102f8727484763370b154f635a6a1fd1
tree8c670d8b15b6e3de9adf51c03685e33d549d1029
parentdf62a3f85ac71bde3b045c19867f142d8e1ead67
Fix reader memory leak upon error (bug#56623)

Reported by Tom Gillespie; error found by Greg Hendershott.

* src/lread.c (read_stack_reset): New.
(read0): Reset read stack when unwinding from an error.
src/lread.c