summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/analysis/loading.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/analysis/loading.c b/src/analysis/loading.c
index 7e2f9ee..3a53657 100644
--- a/src/analysis/loading.c
+++ b/src/analysis/loading.c
@@ -827,6 +827,7 @@ void g_content_explorer_populate_group(GContentExplorer *explorer, wgroup_id_t w
group->contents = (GBinContent **)realloc(group->contents, ++group->count * sizeof(GBinContent *));
group->contents[group->count - 1] = content;
+ g_object_ref(G_OBJECT(content));
/* Relancement des explorations */
@@ -1426,6 +1427,7 @@ void g_content_resolver_add_detected(GContentResolver *resolver, wgroup_id_t wid
group->loaded = (GLoadedContent **)realloc(group->loaded, ++group->count * sizeof(GLoadedContent *));
group->loaded[group->count - 1] = loaded;
+ g_object_ref(G_OBJECT(loaded));
g_mutex_unlock(&resolver->mutex);