Skip to content

Commit

Permalink
more mem leak fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartik Thakore committed Aug 25, 2009
1 parent 934c9cf commit ab96581
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/SDL.xs
Original file line number Diff line number Diff line change
Expand Up @@ -2982,6 +2982,8 @@ TTFSizeText ( font, text )
TTF_SizeText(font,text,&w,&h);
av_push(RETVAL,newSViv(w));
av_push(RETVAL,newSViv(h));
sv_2mortal((SV*)RETVAL);

OUTPUT:
RETVAL

Expand Down Expand Up @@ -3011,6 +3013,8 @@ TTFSizeUNICODE ( font, text )
TTF_SizeUNICODE(font,text,&w,&h);
av_push(RETVAL,newSViv(w));
av_push(RETVAL,newSViv(h));
sv_2mortal((SV*)RETVAL);

OUTPUT:
RETVAL

Expand Down

0 comments on commit ab96581

Please sign in to comment.