X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fmf.c;h=3134328b985a21d06890a6bcffe565923925f514;hp=633522b804eb72a0c51abfc24111c27b78e801ed;hb=10eff860a28b96582526eb739fd0a55441669938;hpb=d6742b1bb19c7eca8488402484a6e4f55543d789 diff --git a/sbr/mf.c b/sbr/mf.c index 633522b..3134328 100644 --- a/sbr/mf.c +++ b/sbr/mf.c @@ -42,7 +42,7 @@ getcpy(char *s) for(;;) pause(); } - p = mh_xmalloc((size_t) (strlen(s) + 2)); + p = mh_xcalloc((size_t) (strlen(s) + 2), sizeof(char)); strcpy(p, s); return p; }