Commit c669aa46 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fixed memleak

parent c5f58878
/*****************************************************************************
* http.c: HTTP input module
*****************************************************************************
* Copyright (C) 2001-2004 VideoLAN
* Copyright (C) 2001-2005 VideoLAN
* $Id$
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
......@@ -938,6 +938,7 @@ static int Request( access_t *p_access, int64_t i_tell )
p_sys->psz_passwd ? p_sys->psz_passwd : "" );
b64 = vlc_b64_encode( buf );
free( buf );
net_Printf( VLC_OBJECT(p_access), p_sys->fd, pvs,
"Authorization: Basic %s\r\n", b64 );
......
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