Commit 0d209407 authored by Jody McIntyre's avatar Jody McIntyre

This closes a small vmalloc leak on insmod/rmmod.
Signed-off-by: default avatarJim Radford <radford@indigita.com>
Signed-off-by: default avatarJody McIntyre <scjody@modernduck.com>
parent ed5bcaf3
......@@ -67,8 +67,8 @@ int hpsb_default_host_entry(struct hpsb_host *host)
ret = csr1212_associate_keyval(vend_id, text);
csr1212_release_keyval(text);
ret |= csr1212_attach_keyval_to_directory(root, vend_id);
csr1212_release_keyval(vend_id);
if (ret != CSR1212_SUCCESS) {
csr1212_release_keyval(vend_id);
csr1212_destroy_csr(host->csr.rom);
return -ENOMEM;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment