diff options
author | Wilco Baan Hofman <wilco@baanhofman.nl> | 2010-05-24 21:36:49 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-06-20 17:19:13 +0200 |
commit | b9b85d6b0e23e042d60c83fef477fd4006a20c14 (patch) | |
tree | 858858319e18999dccc6a5eee240dd429547345a /source4/lib/policy/pypolicy.c | |
parent | 9b5e0fe6bb363aaaba513b0604476616d6cc9fd8 (diff) | |
download | samba-b9b85d6b0e23e042d60c83fef477fd4006a20c14.tar.gz samba-b9b85d6b0e23e042d60c83fef477fd4006a20c14.tar.bz2 samba-b9b85d6b0e23e042d60c83fef477fd4006a20c14.zip |
Fix memory allocation with error handling.
Also moved pypolicy.c headers around so as not to generate compile warnings
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'source4/lib/policy/pypolicy.c')
-rw-r--r-- | source4/lib/policy/pypolicy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/policy/pypolicy.c b/source4/lib/policy/pypolicy.c index 9ace387a80..7df5081d66 100644 --- a/source4/lib/policy/pypolicy.c +++ b/source4/lib/policy/pypolicy.c @@ -17,9 +17,9 @@ * along with this program; if not, see <http://www.gnu.org/licenses/>. */ +#include <Python.h> #include "includes.h" #include "policy.h" -#include <Python.h> #include "libcli/util/pyerrors.h" static PyObject *py_get_gpo_flags(PyObject *self, PyObject *args) |