Fixed udp_socket resource leak.
Fixed char[] resource leak.
Fixed char[] resource leak.
Fixed yet another char[] resource leak.
Fixed vrpn_LOGLIST* resource leak.
Fixed char* resource leak.
Fixed char* resource leak.
Released HID enumeration on return.