1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gfx/angle/angle-fix-issue-651.patch Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,27 @@ 1.4 +Fix for https://code.google.com/p/angleproject/issues/detail?id=651 1.5 + 1.6 +See https://bugzilla.mozilla.org/show_bug.cgi?id=1025576 for details. 1.7 + 1.8 +diff --git a/gfx/angle/src/compiler/SymbolTable.cpp b/gfx/angle/src/compiler/SymbolTable.cpp 1.9 +--- a/gfx/angle/src/compiler/SymbolTable.cpp 1.10 ++++ b/gfx/angle/src/compiler/SymbolTable.cpp 1.11 +@@ -166,17 +166,18 @@ TFunction::~TFunction() 1.12 + } 1.13 + 1.14 + // 1.15 + // Symbol table levels are a map of pointers to symbols that have to be deleted. 1.16 + // 1.17 + TSymbolTableLevel::~TSymbolTableLevel() 1.18 + { 1.19 + for (tLevel::iterator it = level.begin(); it != level.end(); ++it) 1.20 +- delete (*it).second; 1.21 ++ if ((*it).first == (*it).second->getMangledName()) 1.22 ++ delete (*it).second; 1.23 + } 1.24 + 1.25 + // 1.26 + // Change all function entries in the table with the non-mangled name 1.27 + // to be related to the provided built-in operation. This is a low 1.28 + // performance operation, and only intended for symbol tables that 1.29 + // live across a large number of compiles. 1.30 + //