projects
/
sdlgit/SDL_perl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Added Utility to MANIFEST
[sdlgit/SDL_perl.git]
/
src
/
SDL.xs
diff --git
a/src/SDL.xs
b/src/SDL.xs
index
599340d
..
b7aab01
100644
(file)
--- a/
src/SDL.xs
+++ b/
src/SDL.xs
@@
-3105,6
+3105,7
@@
TTFCloseFont ( font )
TTF_Font *font
CODE:
TTF_CloseFont(font);
+ font=NULL; //to be safe http://sdl.beuc.net/sdl.wiki/SDL_ttf_copy_Functions_Management_TTF_CloseFont
SDL_Surface*
TTFPutString ( font, mode, surface, x, y, fg, bg, text )