[ 
https://issues.apache.org/jira/browse/GUACAMOLE-1867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mike Jumper closed GUACAMOLE-1867.
----------------------------------
    Resolution: Done

> Add libguac convenience functions for memory management
> -------------------------------------------------------
>
>                 Key: GUACAMOLE-1867
>                 URL: https://issues.apache.org/jira/browse/GUACAMOLE-1867
>             Project: Guacamole
>          Issue Type: Wish
>          Components: libguac
>            Reporter: Mike Jumper
>            Assignee: Mike Jumper
>            Priority: Minor
>             Fix For: 1.5.4
>
>
> As it's common throughout the Guacamole codebase to need to allocate memory 
> involving multiple factors, such as width/stride, height, and bytes per 
> pixel, or bits per sample, samples per second, and seconds per packet, it 
> would be nice to provide convenience functions that make these allocations 
> and associated calculations easy and verifiable.
> Adding our own memory allocation functions would also allow us to smooth over 
> platform-specific behavior of {{malloc()}} / {{calloc()}}, would allow for 
> easy insertion of headers/footers around memory blocks if necessary for 
> memory debugging, etc., and would open up the possibility of additional 
> safeguards and sanity checks.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to