aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine-spawn.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/engine-spawn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine-spawn.c b/src/engine-spawn.c
index 8ffc6280..28a14bed 100644
--- a/src/engine-spawn.c
+++ b/src/engine-spawn.c
@@ -120,7 +120,7 @@ add_data (engine_spawn_t esp, gpgme_data_t data, int dup_to, int inbound)
assert (esp);
assert (data);
- a = malloc (sizeof *a - 1);
+ a = malloc (sizeof *a);
if (!a)
return gpg_error_from_syserror ();
a->next = NULL;