Fixing deserialization bug

The adaptor was releasing a buffer with NetApiBufferFree before
the deserialization was completed. The constructor for
WinNT.SECURITY_DESCRIPTOR_RELATIVE deserializes memory from the
security descriptor and the adaptor was calling NetApiBufferFree before
creating the WinNT.SECURITY_DESCRIPTOR_RELATIVE object.
1 file changed