Refs #6607. And fix the memcheck error I introduced
Refs #6607. And fix the memcheck error I introduced

percona/Percona-TokuBackup,kbauskar/Percona-TokuBackup,percona/Percona-TokuBackup,guiquanz/Percona-TokuBackup,dbpercona/Percona-TokuBackup,Jun-Yuan/Percona-TokuBackup,dbpercona/Percona-TokuBackup,percona/Percona-TokuBackup,tplavcic/Percona-TokuBackup,dbpercona/Percona-TokuBackup,tplavcic/Percona-TokuBackup,Jun-Yuan/Percona-TokuBackup,tplavcic/Percona-TokuBackup,Jun-Yuan/Percona-TokuBackup,Jun-Yuan/Percona-TokuBackup,percona/Percona-TokuBackup,tplavcic/Percona-TokuBackup,dbpercona/Percona-TokuBackup,guiquanz/Percona-TokuBackup,kbauskar/Percona-TokuBackup,guiquanz/Percona-TokuBackup,kbauskar/Percona-TokuBackup,kbauskar/Percona-TokuBackup,guiquanz/Percona-TokuBackup