Skip to content

Commit

Permalink
Fix Resource Leak issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubham Vasudeo Desai committed Jan 30, 2025
1 parent 9186f73 commit 9d612f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions raster/r.mapcalc/expression.c
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ static char *format_function(const expression *e, int prec)
G_free(args[i]);
}
strcat(result, ")");
G_free(args);

return result;
}
Expand Down

0 comments on commit 9d612f5

Please sign in to comment.