Skip to content

Commit

Permalink
Fixed memory leaks in YUV code
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jun 13, 2002
1 parent 24e50b7 commit 17ba650
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/video/x11/SDL_x11yuv.c
Expand Up @@ -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");
Expand Down

0 comments on commit 17ba650

Please sign in to comment.