diff options
Diffstat (limited to 'source/blender/blenkernel/intern/pbvh_bmesh.c')
-rw-r--r-- | source/blender/blenkernel/intern/pbvh_bmesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/pbvh_bmesh.c b/source/blender/blenkernel/intern/pbvh_bmesh.c index 71354c2613f..93aa10782c4 100644 --- a/source/blender/blenkernel/intern/pbvh_bmesh.c +++ b/source/blender/blenkernel/intern/pbvh_bmesh.c @@ -1245,8 +1245,8 @@ static bool pbvh_bmesh_collapse_short_edges( while (!BLI_heap_is_empty(eq_ctx->q->heap)) { BMVert **pair = BLI_heap_popmin(eq_ctx->q->heap); - BLI_mempool_free(eq_ctx->pool, pair); BMVert *v1 = pair[0], *v2 = pair[1]; + BLI_mempool_free(eq_ctx->pool, pair); pair = NULL; /* Check the verts still exist */ |