Fix transform connected UVs memory leak

This commit is contained in:
Campbell Barton
2015-06-18 11:38:07 +10:00
parent 7fbf264c67
commit 3468038ed5

View File

@@ -2778,6 +2778,7 @@ static void createTransUVs(bContext *C, TransInfo *t)
/* note: in prop mode we need at least 1 selected */
if (countsel == 0) {
if (is_prop_connected) {
BM_uv_element_map_free(elementmap);
MEM_freeN(island_enabled);
}
return;