X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Ffmt_compile.c;h=566f620939018eac7824fe2ae80e49a6ae5d920c;hb=90534bb281c5063ab582be42e253ee444b443426;hp=f4d92d29b47f44f487376cc4cab7b513da3abe10;hpb=d4c34b4439a9dbd89664de460ed37ecddc260fb1;p=mmh diff --git a/sbr/fmt_compile.c b/sbr/fmt_compile.c index f4d92d2..566f620 100644 --- a/sbr/fmt_compile.c +++ b/sbr/fmt_compile.c @@ -309,7 +309,7 @@ fmt_compile(char *fstring, struct format **fmt) if (format_string) mh_free0(&format_string); - format_string = getcpy(fstring); + format_string = mh_xstrdup(fstring); usr_fstring = fstring; /* init the component hash table. */