projects
/
platform
/
upstream
/
gstreamer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gst: Use GSlice instead of normal g_malloc in more places
[platform/upstream/gstreamer.git]
/
gst
/
gstformat.c
diff --git
a/gst/gstformat.c
b/gst/gstformat.c
index
5313f90
..
faa6471
100644
(file)
--- a/
gst/gstformat.c
+++ b/
gst/gstformat.c
@@
-152,7
+152,7
@@
gst_format_register (const gchar * nick, const gchar * description)
return query;
g_static_mutex_lock (&mutex);
- format = g_
new0 (GstFormatDefinition, 1
);
+ format = g_
slice_new (GstFormatDefinition
);
format->value = _n_values;
format->nick = g_strdup (nick);
format->description = g_strdup (description);