alumae / gst-kaldi-nnet2-online

GStreamer plugin around Kaldi's online neural network decoder
Apache License 2.0
185 stars 100 forks source link

memory leak ?? #78

Open lalith-b opened 5 years ago

lalith-b commented 5 years ago

https://github.com/alumae/gst-kaldi-nnet2-online/blob/617e43e73c7cc45eb9119028c02bd4178f738c4a/src/gstkaldinnet2onlinedecoder.cc#L788

g_value_dup_string can be replaced with g_value_get_string for SimpleOptions which may potentially cause a string leak (just curios) ?

shatealaboxiaowang commented 3 years ago

@lalith-b Hi, thanks, Will this fix the memory leak?