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:
parent
ca34e8a04c
commit
781f2cb3d8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user