summaryrefslogtreecommitdiff
path: root/src/analysis/contents
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-02-07 19:23:14 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-02-07 19:23:14 (GMT)
commit3da6844c02f4041998ec655c19c7987e875adaf8 (patch)
tree752627c9e62043674df6700cf845ace3b4cf49ba /src/analysis/contents
parent7b3ca7accd4103bb5069d31b2389ea76c57846ca (diff)
Fixed extra GObjects leaks.
Diffstat (limited to 'src/analysis/contents')
-rw-r--r--src/analysis/contents/restricted.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analysis/contents/restricted.c b/src/analysis/contents/restricted.c
index 1c0c8e6..8e5242e 100644
--- a/src/analysis/contents/restricted.c
+++ b/src/analysis/contents/restricted.c
@@ -213,7 +213,7 @@ static void g_restricted_content_interface_init(GBinContentInterface *iface)
static void g_restricted_content_dispose(GRestrictedContent *content)
{
- g_object_unref(G_OBJECT(content->internal));
+ g_clear_object(&content->internal);
G_OBJECT_CLASS(g_restricted_content_parent_class)->dispose(G_OBJECT(content));