Fixed a false detection of bad memory release in secaudit

edge.strict_endians
Jean-Pierre André 2011-04-08 18:15:43 +02:00
parent 5603b7d4c2
commit b492b313f9
1 changed files with 8 additions and 1 deletions

View File

@ -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)