mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 00:04:56 +01:00
fix memory leak
This commit is contained in:
parent
cb38034334
commit
fbf7fe1b01
1 changed files with 1 additions and 0 deletions
|
|
@ -169,6 +169,7 @@ int system_user_in_group(const char *name) {
|
||||||
gid = get_group_by_name(name);
|
gid = get_group_by_name(name);
|
||||||
if (0==gid) {
|
if (0==gid) {
|
||||||
fprintf(stderr, "No %s group found\n", name);
|
fprintf(stderr, "No %s group found\n", name);
|
||||||
|
free(list);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue