mirror of https://github.com/postgres/postgres
Coverity complained about this, not without reason: OldMultiXactReader *state = state = pg_malloc(sizeof(*state)); (I'm surprised this is even legal C ... why is "state" in-scope in its initialization expression?) While at it, convert to use our newly-preferred "pg_malloc_object" macro instead of an explicit sizeof().pull/258/head
parent
8c498479d7
commit
b853e644d7
Loading…
Reference in new issue