Changeset 12095
- Timestamp:
- Feb 27, 2007, 2:16:37 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/pxdata.c.template (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/pxdata.c.template
r12091 r12095 51 51 // if we do, slurp the file 52 52 psString text = psSlurpFilename(filepath); 53 psFree(filepath);54 53 if (!text) { 55 54 psError(PS_ERR_IO, false, "failed to slurp %s", filepath); 55 psFree(filepath); 56 56 return NULL; 57 57 } 58 psFree(filepath); 58 59 59 60 return text; 60 61 } 62 psFree(filepath); 61 63 62 64 // look under our share path … … 67 69 // if we do, slurp the file 68 70 psString text = psSlurpFilename(filepath); 69 psFree(filepath);70 71 if (!text) { 71 72 psError(PS_ERR_IO, false, "failed to slurp %s", filepath); 73 psFree(filepath); 72 74 return NULL; 73 75 } 76 psFree(filepath); 74 77 75 78 return text; 76 79 } 80 psFree(filepath); 77 81 78 82 // couldn't find a matching filename
Note:
See TracChangeset
for help on using the changeset viewer.
