Skip to content

Commit

Permalink
Fix wrong free in error cleanup handling
Browse files Browse the repository at this point in the history
  • Loading branch information
svniemeijer committed Sep 19, 2023
1 parent 4bdb292 commit 98cbe2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libharp/harp-ingest-pal_s5p_l2.c
Original file line number Diff line number Diff line change
Expand Up @@ -2027,7 +2027,7 @@ static int read_tcwv_pressure_bounds(void *user_data, harp_array data)
num_layers * sizeof(double), __FILE__, __LINE__);
free(surface_pressure.ptr);
free(pressure_constant_a_top.ptr);
free(pressure_constant_b_bottom.ptr);
free(pressure_constant_a_bottom.ptr);
return -1;
}

Expand Down

0 comments on commit 98cbe2e

Please sign in to comment.