(ITS#5445) syncprov double-free bugfix.