1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00

Fix incorrect struct type in list initialization.

This looks like a copy-paste error.

The code is only run during development so this is not a live issue.

Found with -fsanitize=address.
This commit is contained in:
David Steele 2022-03-24 12:56:26 -06:00
parent 75b26319ae
commit 4e5ac11517

View File

@ -506,7 +506,7 @@ bldCfgParseDependReconcile(const BldCfgOptionDependRaw *const optDependRaw, cons
static List *
bldCfgParseOptionDeprecate(Yaml *const yaml)
{
List *result = lstNewP(sizeof(BldCfgOptionCommandRaw), .comparator = lstComparatorStr);
List *result = lstNewP(sizeof(BldCfgOptionDeprecateRaw), .comparator = lstComparatorStr);
MEM_CONTEXT_TEMP_BEGIN()
{