[asterisk-bugs] [JIRA] (ASTERISK-24672) [PATCH] Memory leak in func_curl.c
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Mon Jan 12 09:05:34 CST 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-24672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=224377#comment-224377 ]
Matt Jordan commented on ASTERISK-24672:
----------------------------------------
Patch looks correct to me. The channel datastore is not responsible for disposing of the private memory - that is up to the {{destroy}} callback {{curlds_free}}. We clearly are allocating the memory for the {{curl_settings}} in {{acf_curlopt_write}} (unless, of course, there is no channel provided, in which case there is no channel datastore).
> [PATCH] Memory leak in func_curl.c
> ----------------------------------
>
> Key: ASTERISK-24672
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-24672
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Functions/func_curl
> Affects Versions: SVN, 1.8.32.1, 13.1.0
> Reporter: Kristian Høgh
> Severity: Trivial
> Attachments: func_curl-memory-leak.diff
>
>
> Memory leak in curlds_free in func_curl.c
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list