vcl/unx/gtk3/gtkframe.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit bf7c5127d3ff8d699f2b44e6c3011209cf7848e0
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Wed Jun 23 21:01:56 2021 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Thu Jun 24 21:39:12 2021 +0200

    gtk4: unref stream when done with it
    
    Change-Id: I3cb11918f0e85fcbc9557dc0211bc10f819f9064
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117749
    Tested-by: Caolán McNamara <caol...@redhat.com>
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/vcl/unx/gtk3/gtkframe.cxx b/vcl/unx/gtk3/gtkframe.cxx
index aab7f40fc603..a500af13a0d4 100644
--- a/vcl/unx/gtk3/gtkframe.cxx
+++ b/vcl/unx/gtk3/gtkframe.cxx
@@ -4236,6 +4236,7 @@ void read_async_completed(GObject* source, GAsyncResult* 
res, gpointer user_data
 
     if (bFinished)
     {
+        g_object_unref(stream);
         pRes->aVector.resize(pRes->nRead);
         pRes->bDone = true;
         g_main_context_wakeup(nullptr);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to