bug 746139 - local JNI frame won't be popped if init fails r=dougt a=lsblakk

This commit is contained in:
Brad Lassey 2012-04-17 10:12:20 -04:00
parent 2f29a81ded
commit 34552cac57

View File

@ -218,6 +218,7 @@ sa_stream_open(sa_stream_t *s) {
s->at_class = init_jni_bindings(jenv);
if (!s->at_class) {
(*jenv)->PopLocalFrame(jenv, NULL);
return SA_ERROR_NO_DEVICE;
}