Memory leak (with patch)

Bug #2127683 reported by Dmitry
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
x265 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Version: libx265-199

Memory leak detected by AddressSanitizer:
Direct leak of 1168 byte(s) in 1 object(s) allocated from x265_encoder_open

Root cause:
In x265_encoder_open(), zoneParam is allocated with x265_param_alloc() at line 98,
used for zone configuration, but never freed on the success path (line 232).
It is only freed on the failure path (line 239).

Patch attached.

Tags: noble patch
Revision history for this message
Dmitry (dima8w) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "x265-fix-zoneParam-memory-leak.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.