Changeset 19770
- Timestamp:
- Sep 26, 2008, 5:49:22 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ppStack/src/ppStackLoop.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackLoop.c
r19756 r19770 6 6 #include <unistd.h> 7 7 #include <string.h> 8 #include <libgen.h> 8 9 #include <pslib.h> 9 10 #include <psmodules.h> … … 193 194 return false; 194 195 } 195 const char *tempName = psMetadataLookupStr(NULL, config->arguments, "OUTPUT"); // Name for temporary files 196 tempName = basename(tempName); 196 197 psString outputName = psStringCopy(psMetadataLookupStr(NULL, config->arguments, "OUTPUT")); // Name for temporary files 198 const char *tempName = basename(outputName); 197 199 if (!tempName) { 198 200 psError(PS_ERR_BAD_PARAMETER_VALUE, false, "Unable to construct basename for temporary files."); … … 393 395 weightNames->data[i] = weightName; 394 396 } 397 // Free the outputName that we grabbed above to set up tempName. 398 psFree(outputName); 395 399 396 400 // Generate convolutions and write them to disk
Note:
See TracChangeset
for help on using the changeset viewer.
