mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
Fix leak in network analysis director
This commit is contained in:
parent
dfa6b6ae19
commit
540d692c56
@ -32,6 +32,8 @@ using "builder" design patter.
|
||||
%End
|
||||
public:
|
||||
|
||||
~QgsGraphDirector();
|
||||
|
||||
virtual void makeGraph( QgsGraphBuilderInterface *builder,
|
||||
const QVector< QgsPointXY > &additionalPoints,
|
||||
QVector< QgsPointXY > &snappedPoints /Out/,
|
||||
|
@ -56,6 +56,11 @@ class ANALYSIS_EXPORT QgsGraphDirector : public QObject
|
||||
|
||||
public:
|
||||
|
||||
~QgsGraphDirector()
|
||||
{
|
||||
qDeleteAll( mStrategies );
|
||||
}
|
||||
|
||||
/**
|
||||
* Make a graph using QgsGraphBuilder
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user