From 3b7f28bf504d575555aac3c71343976650029042 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 23 Aug 2008 11:44:07 +0200 Subject: [PATCH] work around a gcc optimizer bug --- history.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/history.c b/history.c index 789cd87..a31dbfa 100644 --- a/history.c +++ b/history.c @@ -318,7 +318,7 @@ static void uci_filter_history(struct uci_context *ctx, const char *name, const done: if (filename) free(filename); - uci_close_stream(f); + uci_close_stream(pctx->file); uci_foreach_element_safe(&list, tmp, e) { uci_free_element(e); } -- 2.11.0