[v8-juice] r2248 committed - added an extra object cleanup on error.

1 view
Skip to first unread message

v8-j...@googlecode.com

unread,
Apr 14, 2012, 5:30:22 AM4/14/12
to v8-juice-...@googlegroups.com
Revision: 2248
Author: sgbeal
Date: Sat Apr 14 02:30:09 2012
Log: added an extra object cleanup on error.
http://code.google.com/p/v8-juice/source/detail?r=2248

Modified:
/convert/addons/bytearray/bytearray.cpp

=======================================
--- /convert/addons/bytearray/bytearray.cpp Sat Apr 14 02:25:37 2012
+++ /convert/addons/bytearray/bytearray.cpp Sat Apr 14 02:30:09 2012
@@ -446,6 +446,7 @@
int const rc = this->gunzipTo( *ba );
if( rc != Z_OK )
{
+ CW::DestroyObject(jba);
cv::StringBuffer msg;
msg << "Gunzip operation failed with code = " << rc
<< " ("

Reply all
Reply to author
Forward
0 new messages