fixed a minor memleak in update.c:revert_cmd()