[Github-comments] [geany/geany-plugins] updatechecker: remove duplicate config_file string allocation (#903)
Sylvan Mostert
notifications at xxxxx
Sat Sep 7 23:54:31 UTC 2019
I think that this might be a small memory leak:
The string `config_file` is allocated in `init_configuration()` when the plugin is loaded, and then again in the callback function `on_configure_response()`.
>From what I can tell it's not being freed every time the callback is called.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/903
-- Commit Summary --
* updatechecker: remove duplicate config_file defn
-- File Changes --
M updatechecker/src/updatechecker.c (4)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/903.patch
https://github.com/geany/geany-plugins/pull/903.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/903
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190907/f48e789c/attachment.html>
More information about the Github-comments
mailing list