Browse Source

avcodec/exr: fix null pointer dereference

Fixes CID1108582

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.1
Michael Niedermayer 11 years ago
parent
commit
80b1e1c03d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/exr.c

+ 1
- 1
libavcodec/exr.c View File

@@ -562,7 +562,7 @@ static int huf_uncompress(GetByteContext *gb,

fail:
for (i = 0; i < HUF_DECSIZE; i++) {
if (hdec[i].p)
if (hdec)
av_freep(&hdec[i].p);
}



Loading…
Cancel
Save