VirtualBox

Changeset 18352 in vbox for trunk/src


Ignore:
Timestamp:
Mar 26, 2009 9:51:52 PM (16 years ago)
Author:
vboxsync
Message:

Additions/linux/vboxadd: don't unregister an HGCM connection which was never registered

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/module/vboxmod.c

    r18315 r18352  
    373373        rc = -EFAULT;
    374374    }
    375     if (rc < 0)
     375    if (rc < 0 && (info.u32ClientID != 0))
    376376        /* Unregister again, as we didn't get as far as informing userspace. */
    377377        vboxadd_unregister_hgcm_connection_no_close(info.u32ClientID);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette