Mercurial > audlegacy-plugins
comparison src/adplug/core/u6m.h @ 868:d889a20dd9b5 trunk
[svn] - fix double delete[] possibility.
author | nenolod |
---|---|
date | Fri, 16 Mar 2007 18:58:17 -0700 |
parents | cae46214b8bf |
children |
comparison
equal
deleted
inserted
replaced
867:d9c7b1d413c9 | 868:d889a20dd9b5 |
---|---|
37 }; | 37 }; |
38 | 38 |
39 | 39 |
40 ~Cu6mPlayer() | 40 ~Cu6mPlayer() |
41 { | 41 { |
42 if(song_data) delete[] song_data; | 42 if(song_data) { delete[] song_data; song_data = 0; } |
43 }; | 43 }; |
44 | 44 |
45 bool load(VFSFile *fd, const CFileProvider &fp); | 45 bool load(VFSFile *fd, const CFileProvider &fp); |
46 bool update(); | 46 bool update(); |
47 void rewind(int subsong); | 47 void rewind(int subsong); |