prominenceai/deepstream-services-library

Perform memory leak detection on all DSL Components and compare DSL Pipelines with non DSL DS Pipelines - Fix any found.

Closed this issue · 0 comments

Memory leaks and errors found

  1. Function RemoveGhostPadFromParent in DslNoder.h was missing gst_object_unref(pStaticPad);
  2. Function AddGhostPadToParent in DslNoder.h was missing gst_object_unref(pStaticPad);
  3. Multiple calls made to gst_object_get_name in DslPipelineStateMgr.cpp without freeing returned string.
  4. VideoSourceBintr was failing to unlink the last specific element from the first common element for some derived sources.