Fix user-after-free bug.
authorRobert Haas <rhaas@postgresql.org>
Mon, 6 Mar 2017 17:13:06 +0000 (12:13 -0500)
committerRobert Haas <rhaas@postgresql.org>
Mon, 6 Mar 2017 17:13:57 +0000 (12:13 -0500)
commit7f6fa29f18aa84743185ee7ada97f277459228a7
tree16813f807c7a11e5110ec9124c44fb38a2f1d577
parente434ad39ae7316bcf35fd578dd34ad7e1ff3c25f
Fix user-after-free bug.

Introduced by commit aea5d298362e881b13d95a48c5ae116879237389.

Patch from Amit Kapila.  Issue discovered independently by Amit Kapila
and Ashutosh Sharma.
src/backend/postmaster/bgworker.c