NetDisk/session.c

15 lines
288 B
C
Raw Normal View History

2018-09-26 04:55:56 +00:00
#pragma noroot
#include <stdlib.h>
#include "session.h"
#include "tcpconnection.h"
/* End a session and free associated data. */
void EndNetDiskSession(Session *sess) {
if (sess != NULL) {
EndTCPConnection(sess);
free(sess->httpRequest);
free(sess);
}
}