X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=blobdiff_plain;f=src%2Fimap.c;h=5088c1a65c0bafe1ebaa75ad708f6dba549389c0;hp=5eaf1488a8fbc4fb9410b79529ac098237457ec5;hb=2d28879ba939c9afd60ec7375c3f8ba8b31b0212;hpb=fdce34540de35c932e715b06ce0f6853e3b6a0c5;ds=inline diff --git a/src/imap.c b/src/imap.c index 5eaf1488a..5088c1a65 100644 --- a/src/imap.c +++ b/src/imap.c @@ -5696,7 +5696,7 @@ char* imap_modified_utf7_to_utf8(const char *mbox, gboolean change_spaces) unsigned long ucs4, utf16, bitbuf; unsigned char base64[256]; const char *src; - char *dst, *res = malloc(2*strlen(mbox)+1); + char *dst, *res = g_malloc(2*strlen(mbox)+1); bitbuf = 0; dst = res;