Merge branch 'tintou/no-double-close' into 'master'

secret-file-backend: Avoid closing the same file descriptor twice

See merge request GNOME/libsecret!78
This commit is contained in:
Daiki Ueno 2021-06-16 13:23:53 +00:00
commit 72ced3e075

View File

@ -397,7 +397,6 @@ on_bus_get (GObject *source_object,
return; return;
} }
close (fds[1]);
init->stream = g_unix_input_stream_new (fds[0], TRUE); init->stream = g_unix_input_stream_new (fds[0], TRUE);
g_variant_builder_init (&options, G_VARIANT_TYPE_VARDICT); g_variant_builder_init (&options, G_VARIANT_TYPE_VARDICT);