mirror of
https://github.com/postgres/postgres.git
synced 2026-07-16 05:02:57 -04:00
Remove redundant memset() introduced by a0942f4.
Reported-by: Chao Li <li.evan.chao@gmail.com> Discussion: https://postgr.es/m/CAEoWx2kAkNaDa01O0nKsQmkfEmxsDvm09SU=f1T0CV8ew3qJEA@mail.gmail.com
This commit is contained in:
parent
ff4597acd4
commit
4bfaea11d2
1 changed files with 0 additions and 1 deletions
|
|
@ -1502,7 +1502,6 @@ heap_form_minimal_tuple(TupleDesc tupleDescriptor,
|
|||
* Allocate and zero the space needed.
|
||||
*/
|
||||
mem = palloc0(len + extra);
|
||||
memset(mem, 0, extra);
|
||||
tuple = (MinimalTuple) (mem + extra);
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue