X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=lib%2Fsilcutil%2Fsymbian%2Fsilcsymbiansocketstream.cpp;h=2d90808b66fe9fb61bf0b7b15aee629a6e09dbef;hp=fe9d57d64d38f570c3573643a4fc647904447ff8;hb=89e862e5385cdd697feaec6c008e30b599890e4d;hpb=f0c5b8392aac2cd37cbfc738eb484450879130fd diff --git a/lib/silcutil/symbian/silcsymbiansocketstream.cpp b/lib/silcutil/symbian/silcsymbiansocketstream.cpp index fe9d57d6..2d90808b 100644 --- a/lib/silcutil/symbian/silcsymbiansocketstream.cpp +++ b/lib/silcutil/symbian/silcsymbiansocketstream.cpp @@ -1,11 +1,10 @@ - /* silcsymbiansocketstream.cpp Author: Pekka Riikonen - Copyright (C) 2006 Pekka Riikonen + Copyright (C) 2006 - 2007 Pekka Riikonen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -69,7 +68,7 @@ public: } /* Sending callback */ - void RunL() + virtual void RunL() { if (iStatus != KErrNone) { if (iStatus == KErrEof) @@ -86,7 +85,7 @@ public: } /* Cancel */ - void DoCancel() + virtual void DoCancel() { s->sock->CancelWrite(); } @@ -121,7 +120,7 @@ public: } /* Reading callback */ - void RunL() + virtual void RunL() { if (iStatus != KErrNone) { if (iStatus == KErrEof) @@ -145,7 +144,7 @@ public: } /* Cancel */ - void DoCancel() + virtual void DoCancel() { s->sock->CancelRecv(); } @@ -392,7 +391,7 @@ void silc_socket_stream_destroy(SilcStream stream) s->ss->Close(); delete s->ss; } - delete s; + silc_free(s); } /* Sets stream notification callback for the stream */