-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch some allocation calls to use palloc0()
Some areas of the code used palloc() to allocate areas of memory for structures related to the hints, and, while the fields of these structures are initialized one by one, using palloc0() can avoid stupid initialization mistakes. This commit switches the most sensible palloc() calls to palloc0(). Author: hslightdb (LightDB Enterprise Postgres) Author: Michael Paquier Per pull request #165, though I did not use the proposed patch.
- Loading branch information
Showing
1 changed file
with
15 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters