changeset 32713:749f0138640a

maint: Merge stable to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Wed, 10 Jan 2024 08:56:17 +0100
parents 561263f9d728 (current diff) f106f30da574 (diff)
children 2ff4e63bdd18
files libinterp/corefcn/oct-stream.h
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/oct-stream.h	Tue Jan 09 07:47:03 2024 -0800
+++ b/libinterp/corefcn/oct-stream.h	Wed Jan 10 08:56:17 2024 +0100
@@ -79,7 +79,10 @@
 
   OCTAVE_DISABLE_COPY_MOVE (base_stream)
 
-  virtual ~base_stream () = default;
+  virtual ~base_stream ()
+  {
+    delete m_conv_ostream;
+  }
 
   // The remaining functions are not specific to input or output only,
   // and must be provided by the derived classes.