Skip to content
Snippets Groups Projects
Commit 19fc95b3 authored by Alexandre Janniaux's avatar Alexandre Janniaux Committed by Jean-Baptiste Kempf
Browse files

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.
parent b460a447
No related branches found
No related tags found
Loading
Pipeline #145617 passed with stage
in 26 minutes and 55 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment