Rebuilding for Valgrind might be not necessary in this case, because we are trying to catch a memory leak, and those should be detectable on release builds with debug symbols just fine. Also note that Valgrind catches the leaks at the shutdown time.
Rebuilding for Valgrind might be not necessary in this case, because we are trying to catch a memory leak, and those should be detectable on release builds with debug symbols just fine. Also note that Valgrind catches the leaks at the shutdown time.