Fix memory corruption in shader materials.
authorGunnar Sletta <gunnar.sletta@jollamobile.com>
Mon, 18 Aug 2014 07:31:08 +0000 (09:31 +0200)
committerGunnar Sletta <gunnar.sletta@jollamobile.com>
Tue, 19 Aug 2014 07:50:53 +0000 (09:50 +0200)
commit29efdf1981a60a796e611f3bc8763afdcb6c2497
tree348bca72a3d211909fe3a5b96ae3fce54b1465f3
parent2ae518d3a4ea994dfb6c120f826ef7c801b70807
Fix memory corruption in shader materials.

Change ee616b3905106a3eedef9ee964ab283ef45c7dbc accidentally
removed the member variable used to refcount the attribute
names. This resulted in the names being deleted and the
stored const char *'s to become invalid. Add it back.

Change-Id: Ie33f75cd76085283a5ee685602e023bb3c42c896
Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
src/quick/items/qquickshadereffectnode.cpp