CID 1098878: Resource Leak fixed 99/18899/2
Clément DAVID [Wed, 18 Jan 2017 10:14:14 +0000 (11:14 +0100)]
Change-Id: I91166cefe2adc0968cb98f4ebf0de678dbd43189

scilab/modules/external_objects/includes/ScilabStream.hxx

index 333d2c7..76c01cd 100644 (file)
@@ -54,6 +54,7 @@ public:
     virtual ~ScilabStream()
     {
         flush();
+        delete rdbuf();
     }
 };
 }