[Github-comments] [geany-plugins] Addons bookmark refresh fix (#284)

Colomban Wendling notifications at xxxxx
Fri Sep 18 19:50:54 UTC 2015


>  	AoBookmarkListPrivate *priv = AO_BOOKMARK_LIST_GET_PRIVATE(bm);
> +	GeanyDocument *doc = document_find_by_id(container->document_id);
> +	ScintillaObject *sci = doc->editor->sci;

logic error: you dereference `doc` here, but check whether it's NULL on the next line.

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/284/files#r39893968
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20150918/8f36a9ee/attachment.html>


More information about the Github-comments mailing list