X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=config%2Fzconf.l;h=7578853e7238c0401e546b2cfc80b0bd59916f1e;hb=bf909cc9605bfd77ab60b9dfead00c92af2852d2;hp=5d9b060e88f7d2932de473840d333b147e9389a2;hpb=991f1fbe02ccfd2595908a03369621ab05cd21ff;p=carl9170fw.git diff --git a/config/zconf.l b/config/zconf.l index 5d9b060..7578853 100644 --- a/config/zconf.l +++ b/config/zconf.l @@ -52,7 +52,7 @@ static void append_string(const char *str, int size) if (new_size > text_asize) { new_size += START_STRSIZE - 1; new_size &= -START_STRSIZE; - text = realloc(text, new_size); + text = xrealloc(text, new_size); text_asize = new_size; } memcpy(text + text_size, str, size);