Revert "make sure custom config file is malloc'd and freed accordingly"

This reverts commit 020e687c7ddae7314fe50458d399bfb7ebece87c.
export feature: csv / mysql
Merge remote-tracking branch 'remotes/origin-abgit/master'