Re: [HACKERS] NULL checks of deferenced pointers in picksplit method of intarray

2015-02-16 Thread Michael Paquier
On Tue, Feb 17, 2015 at 6:49 AM, Kevin Grittner wrote: > Michael Paquier wrote: > >> Coverity is pointing out that _int_split.c has unnecessary checks >> for deferenced pointers in 5 places. > >> Attached is a patch to adjust those things. > > Pushed. Thanks! Thanks. >> Also, as far as I under

[HACKERS] NULL checks of deferenced pointers in picksplit method of intarray

2015-01-30 Thread Michael Paquier
Hi all, Coverity is pointing out that _int_split.c has unnecessary checks for deferenced pointers in 5 places. - if (inter_d != (ArrayType *) NULL) - pfree(inter_d); + pfree(inter_d); In this case inter_d is generated by in