From 45c16fe89a1058fc9377682f4d46eb816495de17 Mon Sep 17 00:00:00 2001 From: tomascz Date: Sat, 27 Jul 2019 16:57:45 +0200 Subject: [PATCH] [#6] Browsing raw sector data in hexa-mode (Part 38: Fixed memory management) --- Main/src/ViewDiskBrowser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Main/src/ViewDiskBrowser.cpp b/Main/src/ViewDiskBrowser.cpp index ee5f3c54..3061ec6f 100644 --- a/Main/src/ViewDiskBrowser.cpp +++ b/Main/src/ViewDiskBrowser.cpp @@ -49,7 +49,7 @@ void CDiskBrowserView::OnUpdate(CView *pSender,LPARAM lHint,CObject *pHint){ // request to refresh the display of content - f.reset( IMAGE->CreateSectorDataSerializer(this) ); + f=IMAGE->CreateSectorDataSerializer(this); Reset( f.get(), f->GetLength(), f->GetLength() ); }