diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-03-19 14:15:45 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-03-19 21:03:47 +0100 |
commit | 303c1433005044e3a818490d65385febc8eb6030 (patch) | |
tree | de82a9f00fadcd3886cee338a4ed0d261cdc3ca6 | |
parent | 3f0995d665a892bbc9d4cd01842da145bac8f488 (diff) |
cid#1474031 silence Double free
coverity has learned about GObject apparently
Change-Id: I3ef65407d3463cfd8bc106a8c354f4d8c1710dc8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112748
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | vcl/unx/gtk3/gtk3gtkinst.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx index fc958c780f18..6e5e5b48895d 100644 --- a/vcl/unx/gtk3/gtk3gtkinst.cxx +++ b/vcl/unx/gtk3/gtk3gtkinst.cxx @@ -3137,6 +3137,7 @@ public: gtk_widget_destroy(m_pMouseEventBox); gtk_container_add(GTK_CONTAINER(pParent), m_pWidget); + // coverity[freed_arg : FALSE] - this does not free m_pWidget, it is reffed by pParent g_object_unref(m_pWidget); } |