fix global variable leaks
Merge pull request #438 from robraux/global-leak-fixes

fix global variable leaks for ROW_DESCRIPTION, FORMAT_TEXT, FORMAT_BINARY, DATA_ROW