[fix] leaky functions and globals #10

Merged
merged 1 commit into from Jan 2, 2012
Commits on Jan 2, 2012