Fix memory leak on operator=

Change-Id: I5a74da7fe898bfd7ee561d213043cb585fd0e8ed
Merge topic 'FixShaderMemoryLeak' into master

11fd62c2 Fix memory leak on operator=