rocksndiamonds-3.0.8
[rocksndiamonds.git] / src / libgame / system.c
index 1c33deb66375d930e42c891f98017114e73cffcc..9934650f753173d935459d8b13dc00f7b83a9d09 100644 (file)
@@ -370,8 +370,7 @@ inline static void FreeBitmapPointers(Bitmap *bitmap)
   X11FreeBitmapPointers(bitmap);
 #endif
 
-  if (bitmap->source_filename)
-    free(bitmap->source_filename);
+  checked_free(bitmap->source_filename);
   bitmap->source_filename = NULL;
 }