Skip to content
Permalink
Browse files
Fixed memory leaks in YUV code
  • Loading branch information
slouken committed Jun 13, 2002
1 parent 24e50b7 commit 17ba6506ffa21e60b9da06e2a6857fd0154aa6bb
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/video/x11/SDL_x11yuv.c
@@ -123,8 +123,10 @@ SDL_Overlay *X11_CreateYUVOverlay(_THIS, int width, int height, Uint32 format, S
}
}
}
XFree(formats);
}
}
SDL_NAME(XvFreeAdaptorInfo)(ainfo);
}
if ( xv_port == -1 ) {
SDL_SetError("No available video ports for requested format");

0 comments on commit 17ba650

Please sign in to comment.