RidgeRun / gst-interpipe

GStreamer plug-in for interpipeline communication
Other
143 stars 64 forks source link

Fix a memory leak for g_strdup #91

Closed emi-kkobayashi closed 1 year ago

emi-kkobayashi commented 3 years ago

An old listen_to string is freed when it is newly set via the set_property invocation, but we lose opportunity to free it once the plugin goes to the finalization because the context is freed at that time. The node registration itself is removed when the plugin stops, so it should be freed in the stop method.

michaelgruner commented 2 years ago

@migueltaylor can you take this PR to completion?

migueltaylor commented 1 year ago

This was merged to develop on this commit: https://github.com/RidgeRun/gst-interpipe/commit/f73c28d017059235ce21b51d6b53df0c5af6cacc. Closing.