From: Felix Fietkau Date: Sat, 23 Aug 2008 09:44:07 +0000 (+0200) Subject: work around a gcc optimizer bug X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=3b7f28bf504d575555aac3c71343976650029042;p=uci.git work around a gcc optimizer bug --- 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); }