[asterisk-bugs] [JIRA] (ASTERISK-26524) astobj2: data_size variable is wasted space when AO2_DEBUG is not enabled.

Friendly Automation (JIRA) noreply at issues.asterisk.org
Sat Oct 29 10:34:09 CDT 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-26524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=233098#comment-233098 ] 

Friendly Automation commented on ASTERISK-26524:
------------------------------------------------

Change 4233 had a related patch set uploaded by Corey Farrell:
astobj2: Declare private variable data_size for AO2_DEBUG only.

[https://gerrit.asterisk.org/4233|https://gerrit.asterisk.org/4233]

> astobj2: data_size variable is wasted space when AO2_DEBUG is not enabled.
> --------------------------------------------------------------------------
>
>                 Key: ASTERISK-26524
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26524
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/AstMM
>    Affects Versions: 13.12.1, 14.1.1, GIT
>            Reporter: Corey Farrell
>            Assignee: Corey Farrell
>            Severity: Minor
>
> Every AO2 object has a variable 'size_t data_size' in it's private structure.  This is normally a waste of memory since the variable is only needed when AO2_DEBUG is enabled.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list