[ scummvm-Patches-1595240 ] Segfault when destroying an engine twice

SourceForge.net noreply at sourceforge.net
Sun Nov 12 22:02:38 CET 2006


Patches item #1595240, was opened at 2006-11-12 22:02
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=1595240&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jordi Vilalta (jvprat)
Assigned to: Nobody/Anonymous (nobody)
Summary: Segfault when destroying an engine twice

Initial Comment:
The Engine destructor deletes _saveFileMan, which is
just a reference to a system object. If an engine fails
to start, and you try to start it again (failing
again), the second time the reference to _saveFileMan
is invalid, and it segfaults when trying to delete it
again. The attached patch solves it.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=1595240&group_id=37116




More information about the Scummvm-tracker mailing list