mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-08 00:05:09 -04:00
Instead of QgsGraphBuilder::graph() taking the ownership of the graph and leaving the QgsGraphBuilder in an unpredictable state, add an explicit "takeGraph" method which takes the existing graph and make the existing "graph" method just return a copy of the graph. Also fix corresponding memory leaks in network analysis processing algorithms. Fixes #44079