fixed a memory leek (which does not occur very often)

git-svn-id: http://svn.osgeo.org/qgis/trunk@270 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
mhugent 2003-09-08 17:02:16 +00:00
parent 6e4b6e2c42
commit 75eeeb1be7
2 changed files with 2 additions and 1 deletions

View File

@ -31,7 +31,7 @@ plugins/$(MAKEFILE):
sub-plugins: plugins/$(MAKEFILE) FORCE
cd plugins && $(MAKE) -f $(MAKEFILE)
Makefile: qgis.pro /home/gsherman/qt-x11-free-3.2.1/mkspecs/default/qmake.conf
Makefile: qgis.pro /home/gsherman/qt-x11-free-3.2.1/mkspecs/default/qmake.conf
$(QMAKE) -o Makefile qgis.pro
qmake: qmake_all
@$(QMAKE) -o Makefile qgis.pro

View File

@ -95,6 +95,7 @@ QgsShapeFileLayer::~QgsShapeFileLayer()
if(tabledisplay)
{
tabledisplay->close();
delete tabledisplay;
}
}