mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-11-23 10:04:00 +08:00
Fixed a false detection of bad memory release in secaudit
This commit is contained in:
parent
e9e3b18711
commit
860cddd4db
@ -181,6 +181,9 @@
|
||||
*
|
||||
* Mar 2011, version 1.3.19
|
||||
* - fixed interface to ntfs_initialize_file_security()
|
||||
*
|
||||
* Apr 2011, version 1.3.20
|
||||
* - fixed false memory leak detection
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -204,7 +207,7 @@
|
||||
* General parameters which may have to be adapted to needs
|
||||
*/
|
||||
|
||||
#define AUDT_VERSION "1.3.19"
|
||||
#define AUDT_VERSION "1.3.20"
|
||||
|
||||
#define GET_FILE_SECURITY "ntfs_get_file_security"
|
||||
#define SET_FILE_SECURITY "ntfs_set_file_security"
|
||||
@ -5015,7 +5018,11 @@ void showfull(const char *fullname, BOOL isdir)
|
||||
| POSIX_ACL_GROUP
|
||||
| POSIX_ACL_MASK))))
|
||||
showposix(pxdesc);
|
||||
#if USESTUBS
|
||||
stdfree(pxdesc); /* allocated within library */
|
||||
#else
|
||||
free(pxdesc);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
if ((opt_r || opt_b) && (securindex < MAXSECURID)
|
||||
|
Loading…
Reference in New Issue
Block a user