This commit is contained in:
Andreas Gal 2008-06-24 15:58:21 -07:00
commit d3e1a067e5

View File

@ -319,7 +319,7 @@ namespace avmplus
inline void destroy() inline void destroy()
{ {
if (data) if (data)
delete data; free(data);
} }
// 'this' steals the guts of 'that' and 'that' gets reset. // 'this' steals the guts of 'that' and 'that' gets reset.