Skip to contentSkip to conversation

API memory allocator

DISCUSSION GitHub issues - opened 1 participant 1 message Dec 20, 2024 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

alsa-project/alsa-lib issue #429 was opened from sylware:

If I recall properly some data returned from the alsa lib API must be free using the C runtime free().

Would it be appropriate to move away from the C allocator to an API install-able memory allocator (like vulkan3D)?

Backward compatibility would be achieved since the "default memory allocator" would be the C one, if the C runtime is around.

Unless that part of the API is already deprecated (and I should not have used it).

Issue URL : https://github.com/alsa-project/alsa-lib/issues/429
Repository URL: https://github.com/alsa-project/alsa-lib