Skip to content

Commit

Permalink
Oh yeah we hand over the SDL_Rect to perl to handle ... anyway keepin…
Browse files Browse the repository at this point in the history
…g the check until valgrind is ran
  • Loading branch information
kthakore committed Oct 16, 2010
1 parent bf8d800 commit 82224a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SDLx/Surface.xs
Expand Up @@ -190,7 +190,7 @@ surfacex_draw_rect ( surface, rt, color )
r_rect.y = v_rect->y;
r_rect.w = v_rect->w;
r_rect.h = v_rect->h;
if( newly_created_rect == 1 ) { safefree( v_rect); }
// if( newly_created_rect == 1 ) { safefree( v_rect); }
}

SDL_FillRect(surface, &r_rect, m_color);
Expand Down

0 comments on commit 82224a8

Please sign in to comment.