From 9b2384124659597c7385ec500f4da0bdcd2d3ef7 Mon Sep 17 00:00:00 2001 From: Mashiro Date: Mon, 9 Mar 2020 15:34:57 +0300 Subject: Fix CDTEXT processing K3bDevice::CdText::textForPackType returns link to a destructed object Additionally, same issue was fixed for AudioEncoder module Signed-off-by: Mashiro --- libk3bdevice/k3bcdtext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libk3bdevice/k3bcdtext.cpp') diff --git a/libk3bdevice/k3bcdtext.cpp b/libk3bdevice/k3bcdtext.cpp index 3bb6fa8..e195eb1 100644 --- a/libk3bdevice/k3bcdtext.cpp +++ b/libk3bdevice/k3bcdtext.cpp @@ -524,7 +524,7 @@ const TQString& K3bDevice::CdText::textForPackType( int packType, unsigned int t if( track == 0 ) return discId(); else - return TQString(); + return TQString::null; // case 0x87: // if( track == 0 ) -- cgit v1.2.3