Commit: b592ca632f24d3ea47cdbcf53958c9e72dcee759
Author: Phil Gosch
Date:   Fri Jun 3 13:42:59 2016 +0200
Branches: soc-2016-uv_tools
https://developer.blender.org/rBb592ca632f24d3ea47cdbcf53958c9e72dcee759

Fixing memory leak in path selection code

===================================================================

M       source/blender/editors/uvedit/uvedit_parametrizer.c

===================================================================

diff --git a/source/blender/editors/uvedit/uvedit_parametrizer.c 
b/source/blender/editors/uvedit/uvedit_parametrizer.c
index 97fef19..9514280 100644
--- a/source/blender/editors/uvedit/uvedit_parametrizer.c
+++ b/source/blender/editors/uvedit/uvedit_parametrizer.c
@@ -4862,6 +4862,7 @@ void param_shortest_path(ParamHandle *handle, bool 
*p_found)
                                e->flag |= PEDGE_SELECT;
                        } while (node = node->next);
                        success = true;
+                       BLI_linklist_free(path, NULL);
                }
        }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to