From 7050e3cd84cbf0bfdbe4aee9406a9c7240de6e5c Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Sat, 21 Jul 2012 19:27:06 +0200 Subject: [PATCH] Fix wrong assignment. CID 702303. --- src/apps/mediaplayer/interface/SubtitleBitmap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/mediaplayer/interface/SubtitleBitmap.cpp b/src/apps/mediaplayer/interface/SubtitleBitmap.cpp index 4d9af3998d..839af6896d 100644 --- a/src/apps/mediaplayer/interface/SubtitleBitmap.cpp +++ b/src/apps/mediaplayer/interface/SubtitleBitmap.cpp @@ -316,7 +316,7 @@ parse_text(const BString& string, BTextView* textView, const BFont& font, // Cleanup states in case the input text had non-matching tags. while (state->previous != NULL) { - ParseState* oldState = state->previous; + ParseState* oldState = state; state = state->previous; delete oldState; }