diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-12-28 03:44:21 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-12-28 03:44:21 +0800 |
commit | 2db0cad78c8f91531897cc4fd857ecee7474f4df (patch) | |
tree | 8e1d0b61e276d171758088fd5b4d80ac1ab3717a /mail/em-folder-tree-model.c | |
parent | 8080d58ec309459e295be770bc7763f109bdf94b (diff) | |
download | gsoc2013-evolution-2db0cad78c8f91531897cc4fd857ecee7474f4df.tar.gz gsoc2013-evolution-2db0cad78c8f91531897cc4fd857ecee7474f4df.tar.zst gsoc2013-evolution-2db0cad78c8f91531897cc4fd857ecee7474f4df.zip |
Replace alloca() with g_alloca().
Diffstat (limited to 'mail/em-folder-tree-model.c')
-rw-r--r-- | mail/em-folder-tree-model.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-folder-tree-model.c b/mail/em-folder-tree-model.c index 545c934805..c0840434c1 100644 --- a/mail/em-folder-tree-model.c +++ b/mail/em-folder-tree-model.c @@ -778,7 +778,7 @@ folder_subscribed (CamelStore *store, goto done; /* get our parent folder's path */ - dirname = alloca(strlen(fi->full_name)+1); + dirname = g_alloca(strlen(fi->full_name)+1); strcpy(dirname, fi->full_name); p = strrchr(dirname, '/'); if (p == NULL) { |