mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 12:36:51 +03:00
Add an assert to clarify a segfault I'm investigating
svn path=/trunk/netsurf/; revision=10303
This commit is contained in:
parent
5c55264217
commit
92bd0d4ce0
@ -1022,6 +1022,8 @@ nserror llcache_object_add_user(llcache_object *object,
|
|||||||
nserror llcache_object_remove_user(llcache_object *object,
|
nserror llcache_object_remove_user(llcache_object *object,
|
||||||
llcache_object_user *user)
|
llcache_object_user *user)
|
||||||
{
|
{
|
||||||
|
assert(object->users);
|
||||||
|
|
||||||
if (user == object->users)
|
if (user == object->users)
|
||||||
object->users = user->next;
|
object->users = user->next;
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user