(ITS#7735) Memory leaks on Multi-Master replications