summaryrefslogtreecommitdiff
path: root/src/common/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/socket.c')
-rw-r--r--src/common/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/socket.c b/src/common/socket.c
index c66153550..6e877d9be 100644
--- a/src/common/socket.c
+++ b/src/common/socket.c
@@ -613,8 +613,8 @@ static void delete_session(int fd)
for(i = 0; i < session[fd]->hdatac; i++) {
if( session[fd]->hdata[i]->flag.free ) {
aFree(session[fd]->hdata[i]->data);
- aFree(session[fd]->hdata[i]);
}
+ aFree(session[fd]->hdata[i]);
}
if( session[fd]->hdata )
aFree(session[fd]->hdata);