coverity issue CID: 228
Checker: DEADCODE (help) File: base/src/source/blender/gpu/intern/gpu_material.c Function: GPU_materials_free Description: Conditional "ma != 0" was looping over wrong variable I'm guessing a cut and paste error from above. Kent
This commit is contained in:
@@ -1285,7 +1285,7 @@ void GPU_materials_free()
|
||||
|
||||
GPU_material_free(&defmaterial);
|
||||
|
||||
for(ob=G.main->object.first; ma; ma=ma->id.next)
|
||||
for(ob=G.main->object.first; ob; ob=ob->id.next)
|
||||
GPU_lamp_free(ob);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user