aboutsummaryrefslogtreecommitdiffstats
path: root/agent/cache.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--agent/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/cache.c b/agent/cache.c
index 8f5bf9d3d..b6ab55085 100644
--- a/agent/cache.c
+++ b/agent/cache.c
@@ -67,7 +67,7 @@ new_data (const void *data, size_t length)
secure storage provider*/
total = length + 32 - (length % 32);
- d = gcry_malloc_secure (sizeof d + total - 1);
+ d = gcry_malloc_secure (sizeof *d + total - 1);
if (d)
{
d->totallen = total;