[Scummvm-git-logs] scummvm master -> d133aeb04683c0276d59379e49efea8a232d79de

sev- noreply at scummvm.org
Thu Oct 12 15:35:28 UTC 2023


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
d133aeb046 GRAPHICS: MACGUI: Release allocated objects in MacText


Commit: d133aeb04683c0276d59379e49efea8a232d79de
    https://github.com/scummvm/scummvm/commit/d133aeb04683c0276d59379e49efea8a232d79de
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-10-12T17:23:20+02:00

Commit Message:
GRAPHICS: MACGUI: Release allocated objects in MacText

Changed paths:
    graphics/macgui/mactext.h


diff --git a/graphics/macgui/mactext.h b/graphics/macgui/mactext.h
index f95f7714345..a7e702deb94 100644
--- a/graphics/macgui/mactext.h
+++ b/graphics/macgui/mactext.h
@@ -195,6 +195,10 @@ struct MacTextLine {
 	 * @note If requested column is too big, returns last character in the line
 	 */
 	uint getChunkNum(int *col);
+
+	~MacTextLine() {
+		delete tableSurface;
+	}
 };
 
 struct SelectedText {




More information about the Scummvm-git-logs mailing list