projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6926d6
)
registry: remove dead code
author
Stefan Kost
<ensonic@users.sf.net>
Wed, 12 Jan 2011 10:43:04 +0000
(12:43 +0200)
committer
Stefan Kost
<ensonic@users.sf.net>
Tue, 25 Jan 2011 14:17:14 +0000
(16:17 +0200)
The GError is only used for the mmap operations. If we have an error we handle
and clean it there already.
gst/gstregistrybinary.c
patch
|
blob
|
history
diff --git
a/gst/gstregistrybinary.c
b/gst/gstregistrybinary.c
index
54f9abb
..
1a58837
100644
(file)
--- a/
gst/gstregistrybinary.c
+++ b/
gst/gstregistrybinary.c
@@
-349,7
+349,7
@@
gst_registry_binary_initialize_magic (GstBinaryRegistryMagic * m)
* @location: a filename
*
* Write the @registry to a cache to file at given @location.
- *
+ *
* Returns: %TRUE on success.
*/
gboolean
@@
-617,9
+617,6
@@
done:
/* TODO: once we re-use the pointers to registry contents, return here */
Error:
- if (err)
- g_error_free (err);
-
#ifndef GST_DISABLE_GST_DEBUG
g_timer_destroy (timer);
#endif