]> git.sesse.net Git - vlc/commitdiff
Revert "update: don't free the temp pointer, but free the original instead."
authorRafaël Carré <rafael.carre@gmail.com>
Thu, 20 Aug 2009 06:06:12 +0000 (08:06 +0200)
committerRafaël Carré <rafael.carre@gmail.com>
Thu, 20 Aug 2009 06:06:12 +0000 (08:06 +0200)
This reverts commit 97f83156a37514f9f6bb8786507e35118553f947.

src/misc/update.c

index 83e380f07ee3ad7f062f6a6d6eb50c462e7692ad..ccb68eb2bfcf4ead9c960085cd0679439673d40c 100644 (file)
@@ -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 );