Revert gst_plugin_feature_get_name to const string return
authorRené Stadler <rene.stadler@collabora.co.uk>
Wed, 19 Oct 2011 21:07:46 +0000 (23:07 +0200)
committerRené Stadler <rene.stadler@collabora.co.uk>
Wed, 19 Oct 2011 21:40:10 +0000 (23:40 +0200)
commit5800757369ae90b770cca3ca840c2c607b9b9f21
treeb206820e946806516e1d8ec9aaba4daf3f660533
parent7460061645d255ff783aa1e709e04f0930e5cb59
Revert gst_plugin_feature_get_name to const string return

Returning a newly allocated string makes no sense. It's unexpected for a
getter, and also this behaves differently in 0.10, so it would make future
merges harder.

Except for these two places here in core which were updated for the new
semantic, the return value is getting leaked all over the place.
gst/gstpluginfeature.h
gst/gstregistry.c
tests/check/generic/states.c
tests/check/gst/gstregistry.c