Commit 7839b89d authored by Rafaël Carré's avatar Rafaël Carré

Do not leak the telnet password

parent 72aff6c9
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* telnet.c: VLM interface plugin * telnet.c: VLM interface plugin
***************************************************************************** *****************************************************************************
* Copyright (C) 2000-2006 the VideoLAN team * Copyright (C) 2000-2006 the VideoLAN team
* $Id$ * $Id: 2c01c2c9b10169fac082556175b43e795096e59f $
* *
* Authors: Simon Latapie <garf@videolan.org> * Authors: Simon Latapie <garf@videolan.org>
* Laurent Aimar <fenrir@videolan.org> * Laurent Aimar <fenrir@videolan.org>
...@@ -452,6 +452,8 @@ static void Run( intf_thread_t *p_intf ) ...@@ -452,6 +452,8 @@ static void Run( intf_thread_t *p_intf )
} }
} }
} }
free( psz_password );
} }
static void Write_message( telnet_client_t *client, vlm_message_t *message, static void Write_message( telnet_client_t *client, vlm_message_t *message,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment