diff options
Diffstat (limited to 'camel/providers/nntp/camel-nntp-utils.c')
-rw-r--r-- | camel/providers/nntp/camel-nntp-utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/providers/nntp/camel-nntp-utils.c b/camel/providers/nntp/camel-nntp-utils.c index ae1f676cc3..d4c2cda771 100644 --- a/camel/providers/nntp/camel-nntp-utils.c +++ b/camel/providers/nntp/camel-nntp-utils.c @@ -104,7 +104,7 @@ get_HEAD_headers(CamelNNTPStore *nntp_store, CamelFolder *folder, buf_alloc = 2048; buf_len = 0; - buf = malloc(buf_alloc); + buf = g_malloc(buf_alloc); done = FALSE; buf[0] = 0; @@ -125,7 +125,7 @@ get_HEAD_headers(CamelNNTPStore *nntp_store, CamelFolder *folder, else { if (buf_len + line_length > buf_alloc) { buf_alloc *= 2; - buf = realloc (buf, buf_alloc); + buf = g_realloc (buf, buf_alloc); } strcat(buf, line); strcat(buf, "\n"); |