Fix small memory leak in jobcomp/mysql.