src/video/SDL_surface.c
changeset 5256 bbdf9250ee8b
parent 5184 d976b67150c5
child 5258 f26314c20071
     1.1 --- a/src/video/SDL_surface.c	Fri Feb 11 13:06:35 2011 -0800
     1.2 +++ b/src/video/SDL_surface.c	Fri Feb 11 14:23:22 2011 -0800
     1.3 @@ -145,9 +145,6 @@
     1.4  
     1.5      /* The surface is ready to go */
     1.6      surface->refcount = 1;
     1.7 -#ifdef CHECK_LEAKS
     1.8 -    ++surfaces_allocated;
     1.9 -#endif
    1.10      return surface;
    1.11  }
    1.12  
    1.13 @@ -931,9 +928,6 @@
    1.14          SDL_free(surface->pixels);
    1.15      }
    1.16      SDL_free(surface);
    1.17 -#ifdef CHECK_LEAKS
    1.18 -    --surfaces_allocated;
    1.19 -#endif
    1.20  }
    1.21  
    1.22  /* vi: set ts=4 sw=4 expandtab: */