Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 20bb213

Browse files
committed
Merge branch 'PGPRO10' of gitlab.postgrespro.ru:pgpro-dev/postgrespro into PGPRO10
2 parents 210a694 + d61f54b commit 20bb213

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/shared_ispell/src/shared_ispell.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ dispell_lexize(PG_FUNCTION_ARGS)
626626
MemoryContextResetAndDeleteChildren(saveInfo.saveCntx);
627627
ctx = MemoryContextSwitchTo(saveInfo.saveCntx);
628628

629-
info = palloc0(sizeof(*info));
629+
MemSet(info, 0, sizeof(*info));
630630

631631
init_shared_dict(info, saveInfo.dictFile,
632632
saveInfo.affixFile, saveInfo.stopFile);

0 commit comments

Comments
 (0)