[gst-debugger] gst-debugger: temporarly fix crash



commit 99e68251258a8c45cdeab41c15dddc557017638e
Author: Marcin Kolny <marcin kolny gmail com>
Date:   Fri Oct 20 12:38:38 2017 +0100

    gst-debugger: temporarly fix crash

 src/gst-debugger/pipeline-drawer/graph_module.cpp |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/gst-debugger/pipeline-drawer/graph_module.cpp 
b/src/gst-debugger/pipeline-drawer/graph_module.cpp
index b03861c..93c491a 100644
--- a/src/gst-debugger/pipeline-drawer/graph_module.cpp
+++ b/src/gst-debugger/pipeline-drawer/graph_module.cpp
@@ -246,7 +246,9 @@ void GraphModule::free_graph(GVC_t *gvc, Agraph_t *g)
 {
     if (gvc != nullptr)
     {
-        gvFreeLayout(gvc, g);
+        //TODO sometimes this line is crashing
+        // but commenting it causes memory leaks
+        // gvFreeLayout(gvc, g);
         gvFinalize(gvc);
         gvFreeContext(gvc);
         gvc = nullptr;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]