aboutsummaryrefslogtreecommitdiff
path: root/include/qapi/qmp/qnull.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/qapi/qmp/qnull.h')
-rw-r--r--include/qapi/qmp/qnull.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qapi/qmp/qnull.h b/include/qapi/qmp/qnull.h
index e8ea2c315a..75b29c6a39 100644
--- a/include/qapi/qmp/qnull.h
+++ b/include/qapi/qmp/qnull.h
@@ -23,7 +23,7 @@ extern QNull qnull_;
static inline QNull *qnull(void)
{
- QINCREF(&qnull_);
+ qobject_ref(&qnull_);
return &qnull_;
}