use xmalloc_atomic for many pointerless objects
[bpt/emacs.git] / src / tparam.c
index e02cea3..2c72db3 100644 (file)
@@ -96,7 +96,7 @@ tparam1 (const char *string, char *outstring, int len,
          if (outlen == 0)
            {
              outlen = len + 40;
-             new = xmalloc (outlen);
+             new = xmalloc_atomic (outlen);
              memcpy (new, outstring, offset);
            }
          else