summaryrefslogtreecommitdiffstats
path: root/tcps_sess.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-04-24 10:54:51 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-04-24 10:54:51 +0200
commit0e19d501bbf4d96bc622436a161b57ff7445a657 (patch)
treee27819242c00bf3b5f15226203d4b696cc4cb61d /tcps_sess.h
parentbf3d2c1b392af1383a3cdc247f2280fd31a12699 (diff)
downloadrsyslog-0e19d501bbf4d96bc622436a161b57ff7445a657.zip
rsyslog-0e19d501bbf4d96bc622436a161b57ff7445a657.tar.gz
rsyslog-0e19d501bbf4d96bc622436a161b57ff7445a657.tar.xz
fixed newly introduced memory leaks
Diffstat (limited to 'tcps_sess.h')
-rw-r--r--tcps_sess.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/tcps_sess.h b/tcps_sess.h
index 7baa035..9f3d10d 100644
--- a/tcps_sess.h
+++ b/tcps_sess.h
@@ -32,7 +32,6 @@ struct tcpsrv_s;
typedef struct tcps_sess_s {
BEGINobjInstance; /* Data to implement generic object - MUST be the first data element! */
struct tcpsrv_s *pSrv; /* pointer back to my server (e.g. for callbacks) */
- //int sock; // TODO: remove
netstrm_t *pStrm;
int iMsg; /* index of next char to store in msg */
int bAtStrtOfFram; /* are we at the very beginning of a new frame? */
@@ -44,7 +43,7 @@ typedef struct tcps_sess_s {
int iOctetsRemain; /* Number of Octets remaining in message */
TCPFRAMINGMODE eFraming;
char msg[MAXLINE+1];
- char *fromHost;
+ uchar *fromHost;
void *pUsr; /* a user-pointer */
} tcps_sess_t;