Skip to content

Commit

Permalink
fix possible memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
peter15914 committed Jan 3, 2025
1 parent db1ea0b commit 663c9b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/firejail/fs_home.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ static int store_asoundrc(void) {
if (stat(src, &s) == 0) {
if (s.st_uid != getuid()) {
fwarning(".asoundrc is not owned by the current user, skipping...\n");
free(src);
return 0;
}

Expand Down

0 comments on commit 663c9b5

Please sign in to comment.