X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=file.c;fp=file.c;h=494c6491cb80b68c2967cf2fc462b1004f188283;hp=5a8c6cb51bb143fe23c5e272cc0a0805ff17b0fa;hb=c4df32b386c7bb29568140d135d7315e76c934b7;hpb=5d08b7f5d6628cf83f3e11ece50f6c5506999b69 diff --git a/file.c b/file.c index 5a8c6cb..494c649 100644 --- a/file.c +++ b/file.c @@ -70,8 +70,6 @@ __private void uci_getln(struct uci_context *ctx, int offset) pctx->bufsz *= 2; pctx->buf = uci_realloc(ctx, pctx->buf, pctx->bufsz); - if (!pctx->buf) - UCI_THROW(ctx, UCI_ERR_MEM); } while (1); }