diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-06-04 23:48:11 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-06-04 23:48:11 +0400 |
commit | 75f3cf52fcb5421d98fd1a2ab0d9ae50d0ef3b1e (patch) | |
tree | 5381438362fec20c7582495da32e14d167aec216 /src/dkim.c | |
parent | f7bb8b73f04fcb3b4b815e956155e4f3df6eb486 (diff) | |
download | rspamd-75f3cf52fcb5421d98fd1a2ab0d9ae50d0ef3b1e.tar.gz rspamd-75f3cf52fcb5421d98fd1a2ab0d9ae50d0ef3b1e.zip |
Change ptr array creation function.
Diffstat (limited to 'src/dkim.c')
-rw-r--r-- | src/dkim.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |