C28636

warning C28636: Calling LocalFree on non-allocated pointer obtained from calls to GetSecurityDescriptorOwner/Group/Dacl/Sacl

These functions do not allocate any memory—they set the pointer that is passed in. For this reason, it is wrong to free memory using that pointer.

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft