From cd5ec5e02dcffb584d6d5ceb27a0af59b2a8f9aa Mon Sep 17 00:00:00 2001 From: Shubham Vasudeo Desai Date: Mon, 2 Dec 2024 17:11:10 -0500 Subject: [PATCH] Fix Resource Leak issue --- lib/gpde/n_les_assemble.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/gpde/n_les_assemble.c b/lib/gpde/n_les_assemble.c index 0d90e09c4f7..fb08ed8046d 100644 --- a/lib/gpde/n_les_assemble.c +++ b/lib/gpde/n_les_assemble.c @@ -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; }