I use this from: R. Robert Bell, MCSE
(defun C:Leak (/ lVars orgAtoms) ...
Just be careful of using such all the time. You could easily be clearing some global variable of some totally different piece of code (which you don't know about or forgot about or it's coming in from something else) that should have been left as is. Another issue using this "Clear Globals to NIL" idea is if you reuse that function inside another, it's quite possible to have naming conflicts which would then clear the calling function's local vars instead of the called function's global vars. Not saying you should not use this, but just be wary of errors which could come about because of it.
My advise is to list which variables are (still) global from your function then modify your function to localize them. It's the least problematic in the long run - especially with a Dynamic Scoped language like AutoLisp.