Added ReplyData destructor for easier reply handling

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2901 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
DarkWyrm 2003-03-12 18:00:51 +00:00
parent ca34e8a04c
commit 781f2cb3d8

View File

@ -15,6 +15,7 @@ class PortLink
{
public:
ReplyData(void) { code=0; buffersize=0; buffer=NULL; }
~ReplyData(void) { if(buffer) delete buffer; }
int32 code;
ssize_t buffersize;
int8 *buffer;