diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-05-11 05:06:07 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-05-11 05:06:07 +0000 |
commit | ee6e9789420f9e81a34a3df7afcaf3bd7ac0c7d1 (patch) | |
tree | 64f8c90740adbe25c30379d6567fd2acafcbd2dd /c/cdlopen.c | |
parent | cfef9f25f39bdaf362b7cbccc51720e3a0ed3d35 (diff) | |
parent | 046d35db06dec26c759b92b7d8de38a979d84c0b (diff) | |
download | cffi-ee6e9789420f9e81a34a3df7afcaf3bd7ac0c7d1.tar.gz |
Snap for 8570526 from 046d35db06dec26c759b92b7d8de38a979d84c0b to mainline-media-swcodec-releaseaml_swc_331911000aml_swc_331712000aml_swc_331612000aml_swc_331511000aml_swc_331410000aml_swc_331318000aml_swc_331116000aml_swc_331012020android13-mainline-media-swcodec-release
Change-Id: I25ab4fac7810181b81cdda451d2aa7121266db70
Diffstat (limited to 'c/cdlopen.c')
-rw-r--r-- | c/cdlopen.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/c/cdlopen.c b/c/cdlopen.c index ad33bbd..0ed319b 100644 --- a/c/cdlopen.c +++ b/c/cdlopen.c @@ -43,12 +43,13 @@ static PyObject *ffi_dlopen(PyObject *self, PyObject *args) const char *modname; PyObject *temp, *result = NULL; void *handle; + int auto_close; - handle = b_do_dlopen(args, &modname, &temp); + handle = b_do_dlopen(args, &modname, &temp, &auto_close); if (handle != NULL) { result = (PyObject *)lib_internal_new((FFIObject *)self, - modname, handle); + modname, handle, auto_close); } Py_XDECREF(temp); return result; |