access/http.c: Don't double-free in cookie_append.
[vlc.git] / 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;