[Kst] extragear/graphics/kst/src/extensions/js
George Staikos
staikos at kde.org
Mon Nov 27 19:32:26 CET 2006
SVN commit 608503 by staikos:
fix locking error
M +2 -1 bind_vector.cpp
--- trunk/extragear/graphics/kst/src/extensions/js/bind_vector.cpp #608502:608503
@@ -201,10 +201,11 @@
v->readLock();
if (propertyName < unsigned(v->length())) {
rc = v->value()[propertyName];
+ v->unlock();
} else {
+ v->unlock();
return KJS::Undefined();
}
- v->unlock();
return KJS::Number(rc);
}
More information about the Kst
mailing list