Bugfix for memory leak with particle roughness vertex groups.

This commit is contained in:
Brecht Van Lommel
2008-01-02 17:57:18 +00:00
parent f3ebe967dd
commit 2c6e0f5ab2

View File

@@ -1333,7 +1333,7 @@ void psys_threads_free(ParticleThread *threads)
if(ctx->vg_rough1)
MEM_freeN(ctx->vg_rough1);
if(ctx->vg_rough2)
MEM_freeN(ctx->vg_roughe);
MEM_freeN(ctx->vg_rough2);
if(ctx->vg_roughe)
MEM_freeN(ctx->vg_roughe);