Commit c2065220 authored by conrad's avatar conrad

oggz_auto_dirac: check malloc return

git-svn-id: 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent 24bf3f0a
......@@ -367,6 +367,7 @@ auto_dirac (OGGZ * oggz, long serialno, unsigned char * data, long length, void
dirac_info *info;
info = oggz_malloc(sizeof(dirac_info));
if (info == NULL) return -1;
dirac_parse_info(info, data, length);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment