http://bugs.winehq.org/show_bug.cgi?id=26043
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com 2011-08-06 04:31:15 CDT --- There's no way to fix that properly. Native allows to return pointers as buffer offset without returning buffer pointer itself. So there's nothing to free in both cases.
Probably it's ok to add some comment lines around:
--- error = pGetNamedSecurityInfoA(windows_dir, SE_FILE_OBJECT,DACL_SECURITY_INFORMATION, NULL, NULL, &dacl, NULL, NULL); ---
to use it as valgrind suppression.