mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-19 23:21:15 -03:00
Fix handle leak in get_description()
This commit is contained in:
@@ -620,6 +620,7 @@ static char *get_description(const char *mimetype)
|
||||
perror("read");
|
||||
error=1;
|
||||
free((void *)contents);
|
||||
close(fd);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user