Repositories
/
olsrd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
669db29
)
FIX: double free between rt_path and rt_entry lists because of
author
Henning Rogge
<hrogge@googlemail.com>
Sat, 28 Feb 2009 09:39:00 +0000
(10:39 +0100)
committer
Henning Rogge
<hrogge@googlemail.com>
Sat, 28 Feb 2009 09:39:00 +0000
(10:39 +0100)
different keys (ip_prefix and ip).
src/routing_table.c
patch
|
blob
|
history
diff --git
a/src/routing_table.c
b/src/routing_table.c
index
521cd9e
..
c1541b6
100644
(file)
--- a/
src/routing_table.c
+++ b/
src/routing_table.c
@@
-383,7
+383,7
@@
olsr_insert_rt_path(struct rt_path *rtp, struct tc_entry *tc,
rtp->rtp_tree_node.key = &rtp->rtp_originator;
/* insert to the route entry originator tree */
- avl_insert(&rt->rt_path_tree, &rtp->rtp_tree_node, AVL_DUP
_NO
);
+ avl_insert(&rt->rt_path_tree, &rtp->rtp_tree_node, AVL_DUP);
/* backlink to the owning route entry */
rtp->rtp_rt = rt;