Move fclose to fix dereference after null check (Coverity)

This commit is contained in:
David Crosby
2015-07-10 00:02:12 -06:00
committed by Tatsuya Kinoshita
parent 8c9b27b954
commit 2d9d2494fc

View File

@@ -79,9 +79,9 @@ print_bookmark_panel(char *bmark, char *url, char *title, char *charset)
}
}
printf("</select>\n");
fclose(f);
}
printf(bkmark_src2, html_quote(url), html_quote(title));
fclose(f);
}
/* create new bookmark */