mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	Fix memory leak
This commit is contained in:
		
							parent
							
								
									01468d0879
								
							
						
					
					
						commit
						b44cf5d10f
					
				@ -112,6 +112,11 @@ class QgsLayoutUndoObjectInterface
 | 
			
		||||
%End
 | 
			
		||||
  public:
 | 
			
		||||
 | 
			
		||||
    ~QgsLayoutUndoObjectInterface();
 | 
			
		||||
%Docstring
 | 
			
		||||
 Destructor for QgsLayoutUndoObjectInterface.
 | 
			
		||||
%End
 | 
			
		||||
 | 
			
		||||
    virtual QgsAbstractLayoutUndoCommand *createCommand( const QString &text, int id = 0, QUndoCommand *parent = 0 ) = 0 /Factory/;
 | 
			
		||||
%Docstring
 | 
			
		||||
 Creates a new layout undo command with the specified ``text`` and ``parent``.
 | 
			
		||||
 | 
			
		||||
@ -129,6 +129,11 @@ class CORE_EXPORT QgsLayoutUndoObjectInterface
 | 
			
		||||
{
 | 
			
		||||
  public:
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Destructor for QgsLayoutUndoObjectInterface.
 | 
			
		||||
     */
 | 
			
		||||
    ~QgsLayoutUndoObjectInterface() = default;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Creates a new layout undo command with the specified \a text and \a parent.
 | 
			
		||||
     *
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user