Move fclose to fix dereference after null check (Coverity)
This commit is contained in:
committed by
Tatsuya Kinoshita
parent
8c9b27b954
commit
2d9d2494fc
@@ -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 */
|
||||
|
Reference in New Issue
Block a user