Closed Bug 506870 Opened 15 years ago Closed 15 years ago

leaks in oggz_comments.c when further allocs fail

Categories

(Core :: Audio/Video, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: timeless, Unassigned)

References

(Blocks 1 open bug, )

Details

(Keywords: coverity, memory-leak)

549 oggz_comments_decode (OGGZ * oggz, long serialno,
574      if ((nvalue = oggz_strdup_len (c, len)) == NULL)
577 if (_oggz_comment_set_vendor (oggz, serialno, nvalue) == OGGZ_ERR_OUT_OF_MEMORY)
578 return OGGZ_ERR_OUT_OF_MEMORY;
a couple of other leaks
Summary: oggz_comments_decode leaks nvalue when _oggz_comment_set_vendor fails → leaks in oggz_comments.c when further allocs fail
Fixed in upstream commit 0997b434dde54017ddf78bfc1153ce356f493360
(In reply to comment #2)
> Fixed in upstream commit 0997b434dde54017ddf78bfc1153ce356f493360

We got this in the liboggz update in bug 512327.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.