From 46585242a1a986853717bb960d1a4bf3cc47fb17 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 3 Sep 2002 09:50:51 +0000 Subject: [PATCH] Fixed and unmatched malloc/free pair, which was previously doing a mallco/delete. --- src/osgPlugins/bmp/ReaderWriterBMP.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/bmp/ReaderWriterBMP.cpp b/src/osgPlugins/bmp/ReaderWriterBMP.cpp index 17c7dadc8..d266f29d8 100644 --- a/src/osgPlugins/bmp/ReaderWriterBMP.cpp +++ b/src/osgPlugins/bmp/ReaderWriterBMP.cpp @@ -270,7 +270,7 @@ int *numComponents_ret) } } } - delete [] imbuff; // free the on-disk storage + free(imbuff); // free the on-disk storage fclose(fp);