Loading apps/isar_post_rend.c +11 −0 Original line number Diff line number Diff line Loading @@ -681,6 +681,9 @@ int main( int argc, char **argv ) { #ifdef FIX_1335_EXTREND_RETCODE bool mainFailed = true; /* Assume main failed until cleanup is reached without errors */ #endif ISAR_POST_REND_HANDLE hIsarPostRend = NULL; RotFileReader *headRotReader = NULL; RotFileReader *externalOrientationFileReader = NULL; Loading Loading @@ -1222,6 +1225,10 @@ int main( * Close files and deallocate resources *------------------------------------------------------------------------------------------*/ #ifdef FIX_1335_EXTREND_RETCODE mainFailed = false; /* This will stay set to true if cleanup is reached via a goto due to an error */ #endif cleanup: free( inpInt16Buffer ); Loading Loading @@ -1252,7 +1259,11 @@ cleanup: print_mem( NULL ); #endif #ifdef FIX_1335_EXTREND_RETCODE return mainFailed ? -1 : 0; #else return 0; #endif } Loading Loading
apps/isar_post_rend.c +11 −0 Original line number Diff line number Diff line Loading @@ -681,6 +681,9 @@ int main( int argc, char **argv ) { #ifdef FIX_1335_EXTREND_RETCODE bool mainFailed = true; /* Assume main failed until cleanup is reached without errors */ #endif ISAR_POST_REND_HANDLE hIsarPostRend = NULL; RotFileReader *headRotReader = NULL; RotFileReader *externalOrientationFileReader = NULL; Loading Loading @@ -1222,6 +1225,10 @@ int main( * Close files and deallocate resources *------------------------------------------------------------------------------------------*/ #ifdef FIX_1335_EXTREND_RETCODE mainFailed = false; /* This will stay set to true if cleanup is reached via a goto due to an error */ #endif cleanup: free( inpInt16Buffer ); Loading Loading @@ -1252,7 +1259,11 @@ cleanup: print_mem( NULL ); #endif #ifdef FIX_1335_EXTREND_RETCODE return mainFailed ? -1 : 0; #else return 0; #endif } Loading