Skip to content

ogg: fix memory allocation check

The check was done on the value of the memory allocated and not the memory allocated itself, leading to uninitialized warnings from the compilers and potential NULL dereference in case of memory allocation failure, or random errors in case the memory has been correctly allocated but is initialized to zero.

Merge request reports