Plugged more memory leak in page writer when writing group structure