mirror of
https://github.com/sheumann/NetDisk.git
synced 2024-12-22 10:30:42 +00:00
13 lines
272 B
C
13 lines
272 B
C
#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);
|
|
}
|
|
}
|