Fix by coverity report from 26-10-2015
Fix by coverity report from 26-10-2015

cloudlinux/MariaDB-10.0-governor,cloudlinux/MariaDB-10.0-governor,cloudlinux/MariaDB-10.0-governor,cloudlinux/MariaDB-10.0-governor,cloudlinux/MariaDB-10.0-governor,cloudlinux/MariaDB-10.0-governor,cloudlinux/MariaDB-10.0-governor,cloudlinux/MariaDB-10.0-governor,cloudlinux/MariaDB-10.0-governor,cloudlinux/MariaDB-10.0-governor,cloudlinux/MariaDB-10.0-governor