gst/gstelementfactory.c: Microoptimization that saves stunning 80 bytes.

Original commit message from CVS:
* gst/gstelementfactory.c: (__gst_element_details_clear):
Microoptimization that saves stunning 80 bytes.
This commit is contained in:
Stefan Kost 2007-06-26 08:26:36 +00:00
parent c38d50ed06
commit 0aeac41ffd
2 changed files with 6 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2007-06-26 Stefan Kost <ensonic@users.sf.net>
* gst/gstelementfactory.c: (__gst_element_details_clear):
Microoptimization that saves stunning 80 bytes.
2007-06-25 Stefan Kost <ensonic@users.sf.net>
* docs/plugins/gstreamer-plugins.args:

View file

@ -169,13 +169,10 @@ void
__gst_element_details_clear (GstElementDetails * dp)
{
g_free (dp->longname);
dp->longname = NULL;
g_free (dp->klass);
dp->klass = NULL;
g_free (dp->description);
dp->description = NULL;
g_free (dp->author);
dp->author = NULL;
memset (dp, 0, sizeof (GstElementDetails));
}
#define VALIDATE_SET(__dest, __src, __entry) \