aboutsummaryrefslogtreecommitdiffstats
path: root/em-format
diff options
context:
space:
mode:
Diffstat (limited to 'em-format')
-rw-r--r--em-format/em-format.c2
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, "*");
}