[ 
https://issues.apache.org/jira/browse/DISPATCH-1511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16999276#comment-16999276
 ] 

ASF GitHub Bot commented on DISPATCH-1511:
------------------------------------------

kgiusti commented on pull request #651: DISPATCH-1511: free memory used for 
passwords when done
URL: https://github.com/apache/qpid-dispatch/pull/651
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Leak reported by coverity static analysis 
> ------------------------------------------
>
>                 Key: DISPATCH-1511
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1511
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Management Agent
>    Affects Versions: 1.9.0
>            Reporter: Ken Giusti
>            Assignee: Ken Giusti
>            Priority: Trivial
>             Fix For: 1.11.0
>
>
> connection_manager.c:
> {{410        else if (actual_pass) {
> 411            free(config->sasl_password);
> 412            config->sasl_password = actual_pass;
> 413        }
>    CID 350027 (#1 of 1): Resource leak (RESOURCE_LEAK)38. leaked_storage: 
> Variable actual_pass going out of scope leaks the storage it points to.
> 414    }}}
> ---
> {{600        }
> 601        else if (actual_pass) {
> 602            free(ssl_profile->ssl_password);
> 603            ssl_profile->ssl_password = actual_pass;
> 604        }
>    CID 349805 (#1 of 1): Resource leak (RESOURCE_LEAK)19. leaked_storage: 
> Variable actual_pass going out of scope leaks the storage it points to.
> 605    }}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to