mirror of https://github.com/postgres/postgres
Coverity pointed out that inc_lex_level() would leak memory
(not to mention corrupt the pstack data structure) if some
but not all of its three REALLOC's failed. To fix, store
successfully-updated pointers back into the pstack struct
immediately.
Oversight in 0785d1b8b
, so no need for back-patch.
pull/177/head
parent
a7e5237f26
commit
75240f65e7
Loading…
Reference in new issue