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:
parent
75b26319ae
commit
4e5ac11517
@ -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()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user