diff --git a/src/libpriv/rpmostree-postprocess.cxx b/src/libpriv/rpmostree-postprocess.cxx index 07f1f56586..cbea35477e 100644 --- a/src/libpriv/rpmostree-postprocess.cxx +++ b/src/libpriv/rpmostree-postprocess.cxx @@ -1282,13 +1282,9 @@ filter_xattrs_cb (OstreeRepo *repo, { g_assert (relpath); - GVariantBuilder builder; - g_variant_builder_init (&builder, G_VARIANT_TYPE ("a(ayay)")); - try { return filter_xattrs_impl(repo, relpath, file_info, user_data); } catch (std::exception& e) { - g_variant_builder_clear (&builder); /* Unfortunately we have no way to throw from this callback */ g_printerr ("Failed to read xattrs of '%s': %s\n", relpath, e.what()); exit (1);