]> git.sesse.net Git - vlc/commitdiff
update: don't free the temp pointer, but free the original instead.
authorDerk-Jan Hartman <hartman@videolan.org>
Thu, 2 Oct 2008 14:41:22 +0000 (16:41 +0200)
committerDerk-Jan Hartman <hartman@videolan.org>
Thu, 2 Oct 2008 14:41:22 +0000 (16:41 +0200)
src/misc/update.c

index 0f54cd5d12d28620b3b69d68a8773be6ee4c4258..647626ce0be27a660c58ddaf088ea5b28bdec888 100644 (file)
@@ -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 );