Changeset 11332 for trunk/psModules/src/camera/pmFPAfileDefine.c
- Timestamp:
- Jan 26, 2007, 2:34:25 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAfileDefine.c (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAfileDefine.c
r11304 r11332 337 337 return NULL; 338 338 } 339 file->format = format; 339 psFree (format); 340 file->format = psMemIncrRefCounter(format); 340 341 341 342 // adjust the rules to identify these files in the file->names data … … 480 481 // set derived values 481 482 file->fileLevel = input->fileLevel; 483 psFree (file->format); 482 484 file->format = psMemIncrRefCounter(input->format); 483 485 … … 618 620 return NULL; 619 621 } 622 psFree (file->format); 620 623 file->format = format; 621 624 … … 919 922 file->xBin = xBin; 920 923 file->yBin = yBin; 924 psFree (file->format); 921 925 file->format = psMemIncrRefCounter(format); 922 926 … … 958 962 // The input camera has already been mosaicked to this level 959 963 pmFPAfile *file = pmFPAfileDefineOutput(config, NULL, filename); 964 psFree (file->camera); 965 psFree (file->format); 966 psFree (file->fpa); 960 967 file->camera = psMemIncrRefCounter(config->camera); 961 968 file->format = psMemIncrRefCounter(config->format); … … 1008 1015 file->src = src; // inherit output elements from this source pmFPA 1009 1016 file->mosaicLevel = PM_FPA_LEVEL_CHIP; // don't do any I/O on this at a lower level 1017 psFree (file->format); 1010 1018 file->format = psMemIncrRefCounter(format); 1011 1019 … … 1026 1034 // The input camera has already been mosaicked to this level 1027 1035 pmFPAfile *file = pmFPAfileDefineOutput(config, NULL, filename); 1036 psFree (file->camera); 1037 psFree (file->format); 1038 psFree (file->fpa); 1028 1039 file->camera = psMemIncrRefCounter(config->camera); 1029 1040 file->format = psMemIncrRefCounter(config->format); … … 1085 1096 file->src = src; // inherit output elements from this source pmFPA 1086 1097 file->mosaicLevel = PM_FPA_LEVEL_FPA; // don't do any I/O on this at a lower level 1098 psFree (file->format); 1087 1099 file->format = psMemIncrRefCounter(format); 1088 1100
Note:
See TracChangeset
for help on using the changeset viewer.
