Merge pull request #131 from Sage/master

clear rows before invoking nextRows callback
Merge pull request #133 from Sage/master

fixed memory leak on input parameters