diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-24 10:54:51 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-04-24 10:54:51 +0200 |
commit | 0e19d501bbf4d96bc622436a161b57ff7445a657 (patch) | |
tree | e27819242c00bf3b5f15226203d4b696cc4cb61d /tcps_sess.h | |
parent | bf3d2c1b392af1383a3cdc247f2280fd31a12699 (diff) | |
download | rsyslog-0e19d501bbf4d96bc622436a161b57ff7445a657.tar.gz rsyslog-0e19d501bbf4d96bc622436a161b57ff7445a657.tar.xz rsyslog-0e19d501bbf4d96bc622436a161b57ff7445a657.zip |
fixed newly introduced memory leaks
Diffstat (limited to 'tcps_sess.h')
-rw-r--r-- | tcps_sess.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tcps_sess.h b/tcps_sess.h index 7baa035a..9f3d10d6 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; |