aboutsummaryrefslogtreecommitdiff
path: root/lib/Makefile.inc
diff options
context:
space:
mode:
authorDaniel Gustafsson <daniel@yesql.se>2019-01-02 12:46:31 +0100
committerDaniel Gustafsson <daniel@yesql.se>2019-01-02 12:49:49 +0100
commit5cc32855740b30d5659beeb7bf9951dcdfa67c62 (patch)
tree2a922d11e29bb24ee527690a0c979103131517e7 /lib/Makefile.inc
parent46c89348b973b1088a4310e740def9859ef05408 (diff)
docs: mention potential leak in curl_slist_append
When a non-empty list is appended to, and used as the returnvalue, the list pointer can leak in case of an allocation failure in the curl_slist_append() call. This is correctly handled in curl code usage but we weren't explicitly pointing it out in the API call documentation. Fix by extending the RETURNVALUE manpage section and example code. Closes #3424 Reported-by: dnivras on github Reviewed-by: Daniel Stenberg <daniel@haxx.se>
Diffstat (limited to 'lib/Makefile.inc')
0 files changed, 0 insertions, 0 deletions