[PATCH 6.1 0691/1146] class: fix possible memory leak in __class_register()