Update commande.class.php

Fix bad db->free()