Anti-free and client snapshot class