SDL v1.2 exists to contain a use-after-free via the XFree function at /src/video/x11/SDL_x11yuv.c.
libsdl simple directmedia layer