projects
/
trust_router.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7be7f5a
)
Remove extra free of community table. (Fix bug 1648116)
author
Jennifer Richards
<jennifer@painless-security.com>
Wed, 14 Dec 2016 01:54:48 +0000
(20:54 -0500)
committer
Jennifer Richards
<jennifer@painless-security.com>
Wed, 14 Dec 2016 01:54:48 +0000
(20:54 -0500)
trp/trps.c
patch
|
blob
|
history
diff --git
a/trp/trps.c
b/trp/trps.c
index
cbe0397
..
b28a8d2
100644
(file)
--- a/
trp/trps.c
+++ b/
trp/trps.c
@@
-163,15
+163,11
@@
void trps_set_sweep_interval(TRPS_INSTANCE *trps, unsigned int interval)
void trps_set_ctable(TRPS_INSTANCE *trps, TR_COMM_TABLE *comm)
{
- if (trps->ctable!=NULL)
- tr_comm_table_free(trps->ctable);
trps->ctable=comm;
}
void trps_set_ptable(TRPS_INSTANCE *trps, TRP_PTABLE *ptable)
{
- if (trps->ptable!=NULL)
- trp_ptable_free(trps->ptable);
trps->ptable=ptable;
}