stm class: Fix a double free in stm_register_device()
JIRA: https://issues.redhat.com/browse/RHEL-44520
CVE: CVE-2024-38627
Signed-off-by: David Arcari darcari@redhat.com
JIRA: https://issues.redhat.com/browse/RHEL-44520
CVE: CVE-2024-38627
Signed-off-by: David Arcari darcari@redhat.com