diff options
author | Sviatoslav Chagaev <sviatoslav.chagaev@gmail.com> | 2013-09-13 18:43:41 +0300 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-09-16 13:07:41 +0100 |
commit | 996b2968357f01d92d46c53ba59e9bd39ecd20eb (patch) | |
tree | 34a25839bfb532c76ba9bec1cbb53115c0d62be1 | |
parent | 96e09732f2715f07db990bea9b8c242dbaf56b9c (diff) | |
download | dbus-996b2968357f01d92d46c53ba59e9bd39ecd20eb.tar.gz |
Fix incorrect sizeof in a Valgrind hint macro call.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69326
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
-rw-r--r-- | dbus/dbus-mempool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-mempool.c b/dbus/dbus-mempool.c index e7445853..52466151 100644 --- a/dbus/dbus-mempool.c +++ b/dbus/dbus-mempool.c @@ -393,7 +393,7 @@ _dbus_mem_pool_dealloc (DBusMemPool *pool, freed = element; /* used for internal mempool administration */ - VALGRIND_MAKE_MEM_UNDEFINED (freed, sizeof (freed)); + VALGRIND_MAKE_MEM_UNDEFINED (freed, sizeof (*freed)); freed->next = pool->free_elements; pool->free_elements = freed; |