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 /em-format | |
parent | 8080d58ec309459e295be770bc7763f109bdf94b (diff) | |
download | gsoc2013-evolution-2db0cad78c8f91531897cc4fd857ecee7474f4df.tar gsoc2013-evolution-2db0cad78c8f91531897cc4fd857ecee7474f4df.tar.gz gsoc2013-evolution-2db0cad78c8f91531897cc4fd857ecee7474f4df.tar.bz2 gsoc2013-evolution-2db0cad78c8f91531897cc4fd857ecee7474f4df.tar.lz gsoc2013-evolution-2db0cad78c8f91531897cc4fd857ecee7474f4df.tar.xz gsoc2013-evolution-2db0cad78c8f91531897cc4fd857ecee7474f4df.tar.zst gsoc2013-evolution-2db0cad78c8f91531897cc4fd857ecee7474f4df.zip |
Replace alloca() with g_alloca().
Diffstat (limited to 'em-format')
-rw-r--r-- | em-format/em-format.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/em-format/em-format.c b/em-format/em-format.c index d3ab13b013..305feb9178 100644 --- a/em-format/em-format.c +++ b/em-format/em-format.c @@ -358,7 +358,7 @@ em_format_fallback_handler(EMFormat *emf, const gchar *mime_type) else { gsize len = (s-mime_type)+1; - mime = alloca(len+2); + mime = g_alloca(len+2); strncpy(mime, mime_type, len); strcpy(mime+len, "*"); } |