Skip to content

Commit

Permalink
lib/gpde: Fix Resource Leak issue in n_les_assemble.c (OSGeo#4796)
Browse files Browse the repository at this point in the history
Fix Resource Leak issue
  • Loading branch information
ShubhamDesai authored Dec 3, 2024
1 parent 83b6d75 commit 4d852dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/gpde/n_les_assemble.c
Original file line number Diff line number Diff line change
Expand Up @@ -875,6 +875,8 @@ int N_les_integrate_dirichlet_2d(N_les *les, N_geom_data *geom,
count++;
}
}
G_free(dvect1);
G_free(dvect2);

return 0;
}
Expand Down

0 comments on commit 4d852dd

Please sign in to comment.