summaryrefslogtreecommitdiffhomepage
path: root/process-packet.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2007-02-12 10:44:47 +0000
committerMatt Johnston <matt@ucc.asn.au>2007-02-12 10:44:47 +0000
commitc3941698cda5a14727b97450ae00fc95dd19d855 (patch)
tree9adf0343cfcfb2111ef99563da5e34adbf3484fc /process-packet.c
parent47e76de56a372796260b06a55f0be7765ee2f54f (diff)
Don't erase every buffer, it's too time consuming.
On systems where it matters encrypted swap should be enabled anyway. --HG-- extra : convert_revision : 6cb7793493d92968e09b5dea21d71ded5811d21f
Diffstat (limited to 'process-packet.c')
-rw-r--r--process-packet.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/process-packet.c b/process-packet.c
index 07fc130..ba39d9f 100644
--- a/process-packet.c
+++ b/process-packet.c
@@ -119,7 +119,6 @@ void process_packet() {
recv_unimplemented();
out:
- buf_burn(ses.payload); /* Clear the memory to avoid swapping it out */
buf_free(ses.payload);
ses.payload = NULL;