diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-02-03 13:12:02 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-02-03 13:12:02 (GMT) |
commit | fa44be1e890cef23d0cf987dfc985d5a9fd645de (patch) | |
tree | 5a795e53836eada414de50dcb12fb928da73691a /plugins/pychrysalide/analysis/contents/encapsulated.c | |
parent | 097e2f0265ea9cacdfbc7ab1ac7f1b64054b570f (diff) |
Raised exception in some Python constructors.
Diffstat (limited to 'plugins/pychrysalide/analysis/contents/encapsulated.c')
-rw-r--r-- | plugins/pychrysalide/analysis/contents/encapsulated.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/pychrysalide/analysis/contents/encapsulated.c b/plugins/pychrysalide/analysis/contents/encapsulated.c index 03db638..7af79e8 100644 --- a/plugins/pychrysalide/analysis/contents/encapsulated.c +++ b/plugins/pychrysalide/analysis/contents/encapsulated.c @@ -71,7 +71,7 @@ static PyObject *py_encaps_content_new(PyTypeObject *type, PyObject *args, PyObj get_python_binary_content_type(), &base_obj, &path, get_python_binary_content_type(), &endpoint_obj); - if (!ret) Py_RETURN_NONE; + if (!ret) return NULL; base = G_BIN_CONTENT(pygobject_get(base_obj)); endpoint = G_BIN_CONTENT(pygobject_get(endpoint_obj)); |