mirror of
https://github.com/sheumann/NetDisk.git
synced 2024-11-23 22:37:02 +00:00
15 lines
288 B
C
15 lines
288 B
C
#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);
|
|
}
|
|
}
|