From 97f83156a37514f9f6bb8786507e35118553f947 Mon Sep 17 00:00:00 2001 From: Derk-Jan Hartman Date: Thu, 2 Oct 2008 16:41:22 +0200 Subject: [PATCH] update: don't free the temp pointer, but free the original instead. --- src/misc/update.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/misc/update.c b/src/misc/update.c index 0f54cd5d12..647626ce0b 100644 --- a/src/misc/update.c +++ b/src/misc/update.c @@ -1731,11 +1731,11 @@ end: stream_Delete( p_stream ); if( p_file ) fclose( p_file ); - free( psz_destination ); free( psz_destfile ); free( p_buffer ); free( psz_size ); + free( p_udt->psz_destination ); p_udt->p_update->p_download = NULL; vlc_object_release( p_udt ); -- 2.39.2