# HG changeset patch # User nenolod # Date 1174096697 25200 # Node ID d889a20dd9b5a30566e65f319d655688099b0e05 # Parent d9c7b1d413c9d51c286b01787edbe5eb34681295 [svn] - fix double delete[] possibility. diff -r d9c7b1d413c9 -r d889a20dd9b5 ChangeLog --- a/ChangeLog Fri Mar 16 18:58:10 2007 -0700 +++ b/ChangeLog Fri Mar 16 18:58:17 2007 -0700 @@ -1,3 +1,10 @@ +2007-03-17 01:58:10 +0000 Giacomo Lozito + revision [1834] + - last commit wasn't obviously related wit changes here; revert stuff that is still being tested + trunk/src/ffmpeg/libavformat/utils.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + + 2007-03-17 01:47:24 +0000 Giacomo Lozito revision [1832] - prevent skin list overlap when it's first populated and user quickly switchs to other tabs in the prefswin diff -r d9c7b1d413c9 -r d889a20dd9b5 src/adplug/core/u6m.cxx --- a/src/adplug/core/u6m.cxx Fri Mar 16 18:58:10 2007 -0700 +++ b/src/adplug/core/u6m.cxx Fri Mar 16 18:58:17 2007 -0700 @@ -83,8 +83,8 @@ if (!lzw_decompress(source,destination)) { - delete[] compressed_song_data; - delete[] song_data; + delete[] compressed_song_data; compressed_song_data = 0; + delete[] song_data; song_data = 0; return(false); } diff -r d9c7b1d413c9 -r d889a20dd9b5 src/adplug/core/u6m.h --- a/src/adplug/core/u6m.h Fri Mar 16 18:58:10 2007 -0700 +++ b/src/adplug/core/u6m.h Fri Mar 16 18:58:17 2007 -0700 @@ -39,7 +39,7 @@ ~Cu6mPlayer() { - if(song_data) delete[] song_data; + if(song_data) { delete[] song_data; song_data = 0; } }; bool load(VFSFile *fd, const CFileProvider &fp);