From: Rafaël Carré Date: Thu, 20 Aug 2009 06:06:12 +0000 (+0200) Subject: Revert "update: don't free the temp pointer, but free the original instead." X-Git-Tag: 1.1.0-ff~4186 X-Git-Url: http://git.videolan.org/gitweb.cgi/vlc.git/?p=vlc.git;p=vlc.git;a=commitdiff_plain;h=db6fab48e6210a5fada1c1d97e4d87c1f151b880;ds=sidebyside Revert "update: don't free the temp pointer, but free the original instead." This reverts commit 97f83156a37514f9f6bb8786507e35118553f947. --- diff --git a/src/misc/update.c b/src/misc/update.c index 83e380f07e..ccb68eb2bf 100644 --- a/src/misc/update.c +++ b/src/misc/update.c @@ -741,11 +741,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_restorecancel( canc );