Avoid Svace MEMORY_LEAK warning in callback.cpp