Opened 16 years ago
Last modified 14 years ago
#1350 new defect
libmpcodecs/ad_mpc.c:119: Memory leak: cd
Reported by: | Owned by: | reimar | |
---|---|---|---|
Priority: | normal | Component: | ad |
Version: | HEAD | Severity: | normal |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
In file libmpcodecs/ad_mpc.c:119:
Variable cd is leaking memory if 0 is returned:
context_t *cd = malloc(sizeof(context_t));
if (!sh->wf (sh->wf->cbSize < 6 * 4)) { mp_msg(MSGT_DECAUDIO, MSGL_FATAL, "Missing extradata!\n");
return 0;
}
Note:
See TracTickets
for help on using tickets.