]> git.cworth.org Git - apitrace/commit
Delete the file object if the trace file could not be loaded due to being an unsuppor...
authorPeter Lohrmann <peterl@valvesoftware.com>
Mon, 8 Jul 2013 12:20:31 +0000 (13:20 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 8 Jul 2013 12:20:31 +0000 (13:20 +0100)
commit7eb579d3067914cd8c370ffb577a5917c9616854
tree7933591ff453af48fa24674b123f46e8ffc8c45a
parentea39b2cd2442e66eb5f65055a4042bacfc3ec1ca
Delete the file object if the trace file could not be loaded due to being an unsupported (newer) version.

Fix small memory leak / assert if a trace file can't be loaded due to
being recorded with a newer version number than qapitrace. In this
scenario, there is no error message that gets shown in the UI, but the
title bar is updated with the trace file name, so the situation is very
confusing.
common/trace_parser.cpp