From 8c99bb986217d359184f0b5234902dc0aea2a758 Mon Sep 17 00:00:00 2001 From: Sviatoslav Chagaev Date: Fri, 13 Sep 2013 18:43:41 +0300 Subject: [PATCH 1/3] Fix incorrect sizeof in a Valgrind hint macro call. --- dbus/dbus-mempool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbus/dbus-mempool.c b/dbus/dbus-mempool.c index e744585..5246615 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; -- 1.8.3.1