diff options
Diffstat (limited to 'src/navigation/patches/avoid-crash-on-guidance-when-delete-and-recreate-route.diff')
-rw-r--r-- | src/navigation/patches/avoid-crash-on-guidance-when-delete-and-recreate-route.diff | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/navigation/patches/avoid-crash-on-guidance-when-delete-and-recreate-route.diff b/src/navigation/patches/avoid-crash-on-guidance-when-delete-and-recreate-route.diff new file mode 100644 index 0000000..90fae7d --- /dev/null +++ b/src/navigation/patches/avoid-crash-on-guidance-when-delete-and-recreate-route.diff @@ -0,0 +1,13 @@ +Index: navit/navit/route.c +=================================================================== +--- navit/route.c (revision 5827) ++++ navit/route.c (working copy) +@@ -4103,7 +4103,7 @@ route_remove_attr(struct route *this_, struct attr *attr) + dbg(lvl_debug,"enter\n"); + switch (attr->type) { + case attr_callback: +- callback_list_remove(this_->cbl2, attr->u.callback); ++// callback_list_remove(this_->cbl2, attr->u.callback); + return 1; + case attr_vehicle: + this_->v=NULL; |