From af255a552e464d7b81823bd343e800e0f261545e Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 26 Feb 2003 08:59:54 +0000 Subject: [PATCH] New freeing code in libmatroska now takes care of all children of a EbmlMaster itself - no need to free those manually anymore. --- mkvmerge.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/mkvmerge.cpp b/mkvmerge.cpp index 561b3ab4a..dc4a93438 100644 --- a/mkvmerge.cpp +++ b/mkvmerge.cpp @@ -13,7 +13,7 @@ /*! \file - \version \$Id: mkvmerge.cpp,v 1.15 2003/02/25 14:24:43 mosu Exp $ + \version \$Id: mkvmerge.cpp,v 1.16 2003/02/26 08:59:54 mosu Exp $ \brief command line parameter parsing, looping, output handling \author Moritz Bunkus */ @@ -753,9 +753,7 @@ static void clear_packetq() { p = packet_queue[i]; if (p != NULL) { free(p->data); - delete p->data_buffer; - delete p->group; - delete p->block; + delete p->data_buffer; free(p); } }