Hello,
some of the changes lately happened to desktop/cookies.c result in
Segmentation fault within the framebuffer (trunk) version.
Here is an patch for cookies.c which prevents this Seg Fault:
--- desktop/cookies.c.orig 2010-10-06 19:30:46.000000000 +0200
+++ desktop/cookies.c 2010-10-06 19:40:32.000000000 +0200
@@ -407,8 +407,8 @@
{
assert(data != NULL);
assert(user_delete == false);
-
- schedule(100, cookies_schedule_callback, (void *)data);
+ if( cookies_tree_root != NULL )
+ schedule(100, cookies_schedule_callback, (void *)data);
return true;
}
@@ -419,7 +419,8 @@
{
assert(data != NULL);
- schedule_remove(cookies_schedule_callback, (void *)data);
+ if( cookies_tree_root != NULL )
+ schedule_remove(cookies_schedule_callback, (void *)data);
}
---
Greets,
m
Show replies by date