Ver Fonte

UI: Fix memory leak of remux window

Richard Stanway há 3 anos atrás
pai
commit
2ac43052f9
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      UI/window-basic-main.cpp

+ 2 - 0
UI/window-basic-main.cpp

@@ -2677,6 +2677,8 @@ OBSBasic::~OBSBasic()
 	if (about)
 		delete about;
 
+	delete remux;
+
 	obs_display_remove_draw_callback(ui->preview->GetDisplay(),
 					 OBSBasic::RenderMain, this);