Skip to content

Commit 290a52d

Browse files
committed
fix: missed use of flb_kv_pair
Signed-off-by: Ilia Petrov <ilia.yavorov.petrov@gmail.com>
1 parent 3acf589 commit 290a52d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/flb_kv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ struct flb_kv **flb_kv_get_all_key_values(struct mk_list *list)
178178
return NULL;
179179
}
180180

181-
arr = flb_calloc(count, sizeof(struct flb_kv_pair *));
181+
arr = flb_calloc(count, sizeof(struct flb_kv *));
182182
if (!arr) {
183183
flb_errno();
184184
return NULL;

0 commit comments

Comments
 (0)