From 8bfcf3def385c627edd3df2e95a1dbe358771de0 Mon Sep 17 00:00:00 2001 From: Fred Gleason Date: Fri, 8 Jan 2021 11:18:08 -0500 Subject: [PATCH] 2021-01-08 Fred Gleason * Fixed a memory leak in 'RDLogListModel'. Signed-off-by: Fred Gleason --- ChangeLog | 2 ++ lib/rdloglistmodel.cpp | 1 + 2 files changed, 3 insertions(+) diff --git a/ChangeLog b/ChangeLog index 0668db42..65b0ca51 100644 --- a/ChangeLog +++ b/ChangeLog @@ -20766,3 +20766,5 @@ 2021-01-07 Fred Gleason * Restored support for scheduling cuts by specified order in the 'Edit Cut' dialog in rdlibrary(1). +2021-01-08 Fred Gleason + * Fixed a memory leak in 'RDLogListModel'. diff --git a/lib/rdloglistmodel.cpp b/lib/rdloglistmodel.cpp index ae5a5540..096eda86 100644 --- a/lib/rdloglistmodel.cpp +++ b/lib/rdloglistmodel.cpp @@ -212,6 +212,7 @@ void RDLogListModel::refresh(int row) updateRow(row,q); emit dataChanged(createIndex(row,0),createIndex(row,columnCount())); } + delete q; } }