RidgeRun / gst-inference

A GStreamer Deep Learning Inference Framework
GNU Lesser General Public License v2.1
119 stars 29 forks source link

Prediction Memory Leak if Bypass and Model pads are used #318

Closed dsteger closed 3 years ago

dsteger commented 3 years ago

If both the model and bypass pads are used the prediction data is leaked. Linked below you will notice a "goto out" jump if bypass is present which skips the prediction free.

https://github.com/RidgeRun/gst-inference/blob/master/gst-libs/gst/r2inference/gstvideoinference.c#L972

rrcarlosrodriguez commented 3 years ago

Hi @dsteger ,

Thanks for your report, we will check this and get back to you.

rrcarlosrodriguez commented 3 years ago

Fix included in release v0.10.1