mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-30 13:08:15 +02:00
Fix build failure if build with "--enable-stats"
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=66004 Signed-off-by: Chengwei Yang <chengwei.yang@intel.com> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
This commit is contained in:
parent
e1837696ef
commit
db80dcb6cb
1 changed files with 3 additions and 2 deletions
|
|
@ -203,8 +203,9 @@ bus_stats_handle_get_stats (DBusConnection *connection,
|
|||
if (!asv_add_uint32 (&iter, &arr_iter, "Serial", stats_serial++))
|
||||
goto oom;
|
||||
|
||||
if (!_dbus_list_get_stats (&in_use, &in_free_list, &allocated) ||
|
||||
!asv_add_uint32 (&iter, &arr_iter, "ListMemPoolUsedBytes", in_use) ||
|
||||
_dbus_list_get_stats (&in_use, &in_free_list, &allocated);
|
||||
|
||||
if (!asv_add_uint32 (&iter, &arr_iter, "ListMemPoolUsedBytes", in_use) ||
|
||||
!asv_add_uint32 (&iter, &arr_iter, "ListMemPoolCachedBytes",
|
||||
in_free_list) ||
|
||||
!asv_add_uint32 (&iter, &arr_iter, "ListMemPoolAllocatedBytes",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue