aboutsummaryrefslogtreecommitdiff
path: root/backends/saves
diff options
context:
space:
mode:
authorBastien Bouclet2019-01-05 11:55:21 +0100
committerBastien Bouclet2019-01-05 12:02:19 +0100
commit26d0935b9ff1803863a9bc58b4479867a489cf66 (patch)
tree44ba0654558e6e2c05aa5f78e54968040ebbf0fe /backends/saves
parentece101ee4a5c9623eb030f5c96ef2bfa2401bdb3 (diff)
downloadscummvm-rg350-26d0935b9ff1803863a9bc58b4479867a489cf66.tar.gz
scummvm-rg350-26d0935b9ff1803863a9bc58b4479867a489cf66.tar.bz2
scummvm-rg350-26d0935b9ff1803863a9bc58b4479867a489cf66.zip
COMMON: Remove usage of ScopedPtr in OutSaveFile
It's not very useful. However this is mostly to test the theory that the build failure we've been experiencing in engines/scumm/he/logic/football.cpp with the osx builder on buildbot is related to the size of the intermediary assembly source file.
Diffstat (limited to 'backends/saves')
-rw-r--r--backends/saves/savefile.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/saves/savefile.cpp b/backends/saves/savefile.cpp
index 21f53b8de2..059b7dba8d 100644
--- a/backends/saves/savefile.cpp
+++ b/backends/saves/savefile.cpp
@@ -31,7 +31,9 @@ namespace Common {
OutSaveFile::OutSaveFile(WriteStream *w): _wrapped(w) {}
-OutSaveFile::~OutSaveFile() {}
+OutSaveFile::~OutSaveFile() {
+ delete _wrapped;
+}
bool OutSaveFile::err() const { return _wrapped->err(); }