summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2021-10-14 06:47:29 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2021-10-14 06:47:29 (GMT)
commit810bce688d9b0e271d86886e182b62aa7166319f (patch)
tree33f9e4751616784fa1f97ea152f063d00c8509b6 /src/main.c
parentd405d93f41f9376c55ac8af7acde62eec80386ec (diff)
Improve some reference counters inside binary contents.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 434c861..356e796 100644
--- a/src/main.c
+++ b/src/main.c
@@ -540,10 +540,9 @@ static int open_binaries(char **files, int count)
}
else
- {
- g_object_unref(G_OBJECT(attribs));
result = EXIT_FAILURE;
- }
+
+ g_object_unref(G_OBJECT(attribs));
}