Commit e0925d53 authored by Robert Sprowson's avatar Robert Sprowson
Browse files

Skip check of buffer pointer

The buffer pointer has already been used several times, so can be freed without another check.
Found by cppcheck.

Version 0.21. Tagged as 'FileInfo-0_21'
parent 1b39d0c1
/* (0.20)
/* (0.21)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 0.20
#define Module_MajorVersion_CMHG 0.21
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 18 Aug 2015
#define Module_Date_CMHG 09 Sep 2018
#define Module_MajorVersion "0.20"
#define Module_Version 20
#define Module_MajorVersion "0.21"
#define Module_Version 21
#define Module_MinorVersion ""
#define Module_Date "18 Aug 2015"
#define Module_Date "09 Sep 2018"
#define Module_ApplicationDate "18-Aug-15"
#define Module_ApplicationDate "09-Sep-18"
#define Module_ComponentName "FileInfo"
#define Module_ComponentPath "castle/RiscOS/Sources/Toolbox/FileInfo"
#define Module_FullVersion "0.20"
#define Module_HelpVersion "0.20 (18 Aug 2015)"
#define Module_LibraryVersionInfo "0:20"
#define Module_FullVersion "0.21"
#define Module_HelpVersion "0.21 (09 Sep 2018)"
#define Module_LibraryVersionInfo "0:21"
......@@ -221,8 +221,7 @@ _kernel_oserror *fileinfo_get_modified (_kernel_swi_regs *r) {
}
/* IDJ: 6-Feb-95: bug-fix AQU-01197 - memory leak */
if (buffer)
mem_freek (buffer);
mem_freek (buffer);
return NULL;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment