Skip to content

Commit

Permalink
prevents double free
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Park authored and Mike Park committed Nov 11, 2022
1 parent 5b25380 commit fe04bf7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ref_subcommand.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ static void visualize_help(const char *name) {
"extracts a slice.\n");
printf(
" --boomray <x0> <y0> <z0> <x1> <y1> <z1> <ray.tec> "
"extracts a ray of dp/pinf defined by two points.\n");
"extracts a ray\n of dp/pinf defined by two points.\n");

printf("\n");
}
Expand Down Expand Up @@ -4597,7 +4597,6 @@ static REF_STATUS visualize(REF_MPI ref_mpi, int argc, char *argv[]) {
RSS(ref_iso_boomray(boomray_filename, ref_grid, dp_pinf, 1, vars, xyz0,
xyz1),
"boomray");
ref_free(dp_pinf);
}
}
if (boom_ray) {
Expand Down

0 comments on commit fe04bf7

Please sign in to comment.