summaryrefslogtreecommitdiff
path: root/protocols/Omegle/src/proto.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Omegle/src/proto.cpp')
-rw-r--r--protocols/Omegle/src/proto.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/Omegle/src/proto.cpp b/protocols/Omegle/src/proto.cpp
index 2a28589e61..2380eb48ec 100644
--- a/protocols/Omegle/src/proto.cpp
+++ b/protocols/Omegle/src/proto.cpp
@@ -24,8 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
OmegleProto::OmegleProto(const char* proto_name, const TCHAR* username)
{
- ProtoConstructor(this, aProtoName, aUserName);
- m_szProtoName = mir_strdup( proto_name );
+ ProtoConstructor(this, proto_name, username);
this->facy.parent = this;
@@ -81,7 +80,6 @@ OmegleProto::~OmegleProto( )
mir_free( this->facy.nick_ );
- mir_free( m_szProtoName );
ProtoDestructor(this);
}