From 75f3cf52fcb5421d98fd1a2ab0d9ae50d0ef3b1e Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 4 Jun 2012 23:48:11 +0400 Subject: [PATCH] Change ptr array creation function. --- src/dkim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dkim.c b/src/dkim.c index bd5d5c563..d50ddc0eb 100644 --- a/src/dkim.c +++ b/src/dkim.c @@ -225,7 +225,7 @@ rspamd_dkim_parse_hdrlist (rspamd_dkim_context_t* ctx, const gchar *param, gsize } if (count > 0) { - ctx->hlist = g_ptr_array_new_full (count, NULL); + ctx->hlist = g_ptr_array_sized_new (count); } else { return FALSE; -- 2.39.5