mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
gst/gstregistrybinary.c: If we can't get a cache file don't try to save something to it.
Original commit message from CVS: * gst/gstregistrybinary.c: (gst_registry_binary_write_cache): If we can't get a cache file don't try to save something to it. Dereferencing NULL pointers usually isn't a good idea.
This commit is contained in:
parent
83d3b5d88e
commit
2d2a55a2a4
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||
|
||||
* gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
|
||||
If we can't get a cache file don't try to save something to it.
|
||||
Dereferencing NULL pointers usually isn't a good idea.
|
||||
|
||||
2008-10-07 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
|
||||
|
||||
* tests/check/Makefile.am:
|
||||
|
|
|
@ -838,6 +838,7 @@ fail_free_list:
|
|||
}
|
||||
g_list_free (to_write);
|
||||
|
||||
if (cache)
|
||||
(void) gst_registry_binary_cache_finish (registry, cache, FALSE);
|
||||
/* fall through */
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue