Opened 19 years ago

Closed 19 years ago

#3625 closed patch (fixed)

Potential minor memory leak in RingBuffer

Reported by: Russell Bryant <russell@…> Owned by: danielk
Priority: minor Milestone: 0.21
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

The rwlock used in RingBuffer never gets destroyed.

Attachments (1)

ringbuffer.13709.txt (406 bytes ) - added by Russell Bryant <russell@…> 19 years ago.

Download all attachments as: .zip

Change History (3)

by Russell Bryant <russell@…>, 19 years ago

Attachment: ringbuffer.13709.txt added

comment:1 by danielk, 19 years ago

Milestone: unknown0.21
Owner: changed from Isaac Richards to danielk
Severity: mediumlow
Version: unknownhead

thanx

comment:2 by Janne Grunau, 19 years ago

Resolution: fixed
Status: newclosed

(In [13908]) Closes #3625 by applying patch from Russell Bryant

Fix potential memleak by destroying the pthread_rwlock in the destructor

Note: See TracTickets for help on using tickets.