Update lsp/driver/keys/keys_driver.c

modified the error exit of class_create