Skip to content

Commit

Permalink
Fix Failing HiJitter Tests (#5507)
Browse files Browse the repository at this point in the history
* Fixes proj segfault if a match cube is provided

* Revert mcube back into a pointer and correctly handle it
  • Loading branch information
acpaquette authored and chkim-usgs committed Jun 18, 2024
1 parent 2ca5190 commit cfba3fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion isis/src/base/apps/noproj/noproj.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,12 @@ namespace Isis {

Cube *mcube = NULL;
if((ui.WasEntered("MATCH"))) {
mcube->open(ui.GetCubeName("MATCH"));
mcube = new Cube(ui.GetCubeName("MATCH"));
}

noproj(&icube, mcube, ui);

free(mcube);
}

/**
Expand Down

0 comments on commit cfba3fe

Please sign in to comment.