Fix some memory leaks in redirect plugin
Few error message changes and one more leak fixed in redirect plugin
Merge pull request #7 from praveen-pk/master

Fix some memory leaks in redirect plugin