Opened 17 years ago

Closed 17 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@…> 17 years ago.

Download all attachments as: .zip

Change History (3)

Changed 17 years ago by Russell Bryant <russell@…>

Attachment: ringbuffer.13709.txt added

comment:1 Changed 17 years ago by danielk

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

thanx

comment:2 Changed 17 years ago by Janne Grunau

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.