mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 746139 - local JNI frame won't be popped if init fails r=dougt a=lsblakk
This commit is contained in:
parent
2f29a81ded
commit
34552cac57
@ -218,6 +218,7 @@ sa_stream_open(sa_stream_t *s) {
|
|||||||
|
|
||||||
s->at_class = init_jni_bindings(jenv);
|
s->at_class = init_jni_bindings(jenv);
|
||||||
if (!s->at_class) {
|
if (!s->at_class) {
|
||||||
|
(*jenv)->PopLocalFrame(jenv, NULL);
|
||||||
return SA_ERROR_NO_DEVICE;
|
return SA_ERROR_NO_DEVICE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user