diff options
Diffstat (limited to 'mail/e-mail-migrate.c')
-rw-r--r-- | mail/e-mail-migrate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/e-mail-migrate.c b/mail/e-mail-migrate.c index 04805324b6..f67ea38c5b 100644 --- a/mail/e-mail-migrate.c +++ b/mail/e-mail-migrate.c @@ -1322,13 +1322,13 @@ get_local_store_uri (const gchar *dirname, gchar **namep, gint *indexp) if (node->name && !strcmp ((gchar *)node->name, "folder")) { tmp = (gchar *)xmlGetProp (node, (const guchar *)"type"); if (tmp) { - protocol = alloca(strlen(tmp)+1); + protocol = g_alloca(strlen(tmp)+1); strcpy(protocol, tmp); xmlFree(tmp); } tmp = (gchar *)xmlGetProp (node, (const guchar *)"name"); if (tmp) { - name = alloca(strlen(tmp)+1); + name = g_alloca(strlen(tmp)+1); strcpy(name, tmp); xmlFree(tmp); } |