access/http.c: Don't double-free in cookie_append.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 18 Jan 2008 20:11:59 +0000 (20:11 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 18 Jan 2008 20:11:59 +0000 (20:11 +0000)
modules/access/http.c

index 61b82e9..2b0f405 100644 (file)
@@ -1351,8 +1351,6 @@ static void cookie_append( vlc_array_t * cookies, char * cookie )
             vlc_array_remove( cookies, i );
 
             /* Clean */
-            free( cookie_name );
-            free( cookie_domain );
             free( current_cookie_name );
             free( current_cookie_domain );
             break;