redis_check_rdb_main(): create shared objects only if needed.
Otherwise Valgrind will complain a memory leak under certain tests where RDB checking is invoked from within Redis.
Please register or sign in to comment
Otherwise Valgrind will complain a memory leak under certain tests where RDB checking is invoked from within Redis.