forked from Mirrors/flatpak-builder
document-portal: Fix fd leak
parent
c01bbb5466
commit
46889979ea
|
@ -694,7 +694,7 @@ portal_lookup (GDBusMethodInvocation *invocation,
|
|||
{
|
||||
const char *filename;
|
||||
char path_buffer[PATH_MAX + 1];
|
||||
int fd;
|
||||
glnx_fd_close int fd = -1;
|
||||
struct stat st_buf, real_parent_st_buf;
|
||||
g_auto(GStrv) ids = NULL;
|
||||
g_autofree char *id = NULL;
|
||||
|
|
Loading…
Reference in New Issue