3b8354 backport to fix a couple of small memory leaks

Authored and Committed by Than Ngo 8 years ago
    backport to fix a couple of small memory leaks
    
        
file modified
+6 -1