diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-06-23 21:01:56 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-06-24 21:39:12 +0200 |
commit | bf7c5127d3ff8d699f2b44e6c3011209cf7848e0 (patch) | |
tree | 1432020f539c5c4df36563d7b3e6f54ebd6a8fdb /vcl | |
parent | 8c276412c9cd8e12d88f4349f5fba19651161886 (diff) |
gtk4: unref stream when done with it
Change-Id: I3cb11918f0e85fcbc9557dc0211bc10f819f9064
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117749
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/gtk3/gtkframe.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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); |