Freeing Hardware surfaces

Should I free a surface in hardware memory with the FreeSurface function?
I think I’m getting errors while doing this.

 ||| 
(o -)

oOOo(_)oOOo-----------------------------

" Real users hate Real programmers "
@Gorka
http://web.jet.es/~olsago/
http://fly.to/luzluciernaga

Should I free a surface in hardware memory with the FreeSurface function?
I think I’m getting errors while doing this.

yes.
Don’t free it twice. If you’re still having errors, please let me know.

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec