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 19, 2025
1 parent ded9625 commit 9bf3a93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions general/g.gisenv/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ char *parse_variable(const char *v_name, char **value)
G_verbose_message(_("GRASS variable must be uppercase. Using '%s'."),
u_name);
}
G_free(name);

return u_name;
}

0 comments on commit 9bf3a93

Please sign in to comment.