libaco icon indicating copy to clipboard operation
libaco copied to clipboard

Adjust code around memory allocations

Open elfring opened this issue 7 years ago • 1 comments

The following source code structure is repeated a few times.

…
    …* p = malloc(…);
    assertalloc_ptr(p);
…

How do you think about to combine it into a function like “aco_malloc” (or “aco_calloc”)?

elfring avatar Jul 07 '18 11:07 elfring

Thanks Markus for your proposal :D

I would like to add it to the ToDo list and this adjustment will be released with the new API aco_reset in the future v1.3.0.

hnes avatar Jul 07 '18 12:07 hnes