You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
759 B

  1. From c479fba2f0f478e828cd08dde3c3b5e8ae7908d4 Mon Sep 17 00:00:00 2001
  2. From: Rosen Penev <rosenp@gmail.com>
  3. Date: Mon, 29 Nov 2021 18:31:14 -0800
  4. Subject: [PATCH] fix matroska memory leaks
  5. Signed-off-by: Rosen Penev <rosenp@gmail.com>
  6. ---
  7. src/metadata/matroska_handler.cc | 2 --
  8. 1 file changed, 2 deletions(-)
  9. --- a/src/metadata/matroska_handler.cc
  10. +++ b/src/metadata/matroska_handler.cc
  11. @@ -137,8 +137,6 @@ void MatroskaHandler::parseMKV(const std
  12. delete (elL1->SkipData(ebmlStream, elL1->Generic().Context));
  13. delete elL1;
  14. - if (activeFlag == 0) // terminate search
  15. - break;
  16. } // while elementLevel1
  17. delete (elL0->SkipData(ebmlStream, LIBMATROSKA_NAMESPACE::KaxSegment_Context));