Skip to content

Commit 64ee638

Browse files
Merge pull request #5 from postgrespro/PGPRO-9502
Retire MemoryContextResetAndDeleteChildren() macro.
2 parents 82e0e10 + b580a82 commit 64ee638

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/shared_ispell.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ dispell_lexize(PG_FUNCTION_ARGS)
633633
* info here
634634
*/
635635

636-
MemoryContextResetAndDeleteChildren(saveInfo.infoCntx);
636+
MemoryContextReset(saveInfo.infoCntx);
637637
MemSet(info, 0, sizeof(*info));
638638

639639
init_shared_dict(info, saveInfo.infoCntx, saveInfo.dictFile,

0 commit comments

Comments
 (0)