summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lirenjie_vxlan_sapp_20200803.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lirenjie_vxlan_sapp_20200803.c b/lirenjie_vxlan_sapp_20200803.c
index cae1ff1..ce26c2d 100644
--- a/lirenjie_vxlan_sapp_20200803.c
+++ b/lirenjie_vxlan_sapp_20200803.c
@@ -873,6 +873,9 @@ char TCP_ENTRY(struct streaminfo *pstream, void **pme, int thread_seq, const voi
error_drop:
error_count[thread_seq]++;
free(tinfo);
+ free(tinfo_new);
+ free(time_old);
+ free(pme);
return APP_STATE_DROPME | APP_STATE_DROPPKT;
}
@@ -1097,6 +1100,9 @@ char UDP_ENTRY(struct streaminfo *pstream, void **pme, int thread_seq, const voi
error_drop:
error_count[thread_seq]++;
free(tinfo);
+ free(tinfo_new);
+ free(time_old);
+ free(pme);
return APP_STATE_DROPME | APP_STATE_DROPPKT;
}