fix allocation size in alloc_added_blob_tree_entry()
diff --git a/lib/worktree.c b/lib/worktree.c
index 934b269..343a0f8 100644
--- a/lib/worktree.c
+++ b/lib/worktree.c
@@ -2408,7 +2408,7 @@ alloc_added_blob_tree_entry(struct got_tree_entry **new_te,
*new_te = NULL;
- *new_te = calloc(1, sizeof(*new_te));
+ *new_te = calloc(1, sizeof(**new_te));
if (*new_te == NULL)
return got_error_from_errno();