aboutsummaryrefslogtreecommitdiff
path: root/tests/check-qobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/check-qobject.c')
-rw-r--r--tests/check-qobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/check-qobject.c b/tests/check-qobject.c
index 7629b8071b..5cb08fcb63 100644
--- a/tests/check-qobject.c
+++ b/tests/check-qobject.c
@@ -80,7 +80,7 @@ static void do_free_all(int _, ...)
va_start(ap, _);
while ((obj = va_arg(ap, QObject *)) != NULL) {
- qobject_decref(obj);
+ qobject_unref(obj);
}
va_end(ap);
}