2011-02-11 [mones] 3.7.8cvs53
[claws.git] / src / imap.c
index 5eaf1488a8fbc4fb9410b79529ac098237457ec5..5088c1a65c0bafe1ebaa75ad708f6dba549389c0 100644 (file)
@@ -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;