*** empty log message ***
authorSam Lantinga <slouken@libsdl.org>
Thu, 13 Jun 2002 12:00:34 +0000
changeset 410 365f57b7c4ac
parent 409 1c3cf7231cd4
child 411 8c4999b0ac10
*** empty log message ***
src/video/x11/SDL_x11yuv.c
--- a/src/video/x11/SDL_x11yuv.c	Thu Jun 13 11:57:10 2002 +0000
+++ b/src/video/x11/SDL_x11yuv.c	Thu Jun 13 12:00:34 2002 +0000
@@ -123,7 +123,9 @@
 						}
 					}
 				}
-				XFree(formats);
+				if ( formats ) {
+					XFree(formats);
+				}
 			}
 		}
 		SDL_NAME(XvFreeAdaptorInfo)(ainfo);