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

Ted Ross commented on DISPATCH-956:
-----------------------------------

I prefer to not blindly take the overhead of zeroing all allocated data when, 
in most cases, we will then re-initialize most/all of the data.


> Zero out the memory after calling NEW or new_*
> ----------------------------------------------
>
>                 Key: DISPATCH-956
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-956
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Container
>    Affects Versions: 1.0.1
>            Reporter: Ganesh Murthy
>            Assignee: Ganesh Murthy
>            Priority: Major
>
> Call the ZERO macro after calling NEW() or new_
>  
> This will clear the memory and avoid pointing to some garbage.
>  
> [~chug] found and fixed a problem like this in commit 
> 627aae1ec779da1f3db9ec7f5add55b300a65555



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to