Category : macos

Building the following code with the following flags produces a Direct leak. Is this a false positive or an actual leak in SDL Net? Flags: -g -O0 -fsanitize=address,undefined -fno-omit-frame-pointer -fno-sanitize=vptr Code: if (SDL_Init(SDL_INIT_EVENTS) < 0) { std::cerr << "Failed to init SDL." << std::endl; return; } if (SDLNet_Init() < 0) { std::cerr << "Failed to ..

Read more