about summary refs log tree commit diff stats
path: root/miasm2/jitter/vm_mngr_py.c
diff options
context:
space:
mode:
authorserpilliere <devnull@localhost>2014-08-25 15:55:34 +0200
committerserpilliere <devnull@localhost>2014-08-25 15:55:34 +0200
commitf12702ba8c804565123e3b97f7ff185e8bf8844a (patch)
treea1a0ad474be5a62a0b6e1cc8a8c5d770b54dc459 /miasm2/jitter/vm_mngr_py.c
parent874d891deae98b48f5df36aa9fdfc4a29e9d2020 (diff)
downloadmiasm-f12702ba8c804565123e3b97f7ff185e8bf8844a.tar.gz
miasm-f12702ba8c804565123e3b97f7ff185e8bf8844a.zip
jittcc: free pointers
Diffstat (limited to 'miasm2/jitter/vm_mngr_py.c')
-rw-r--r--miasm2/jitter/vm_mngr_py.c83
1 files changed, 1 insertions, 82 deletions
diff --git a/miasm2/jitter/vm_mngr_py.c b/miasm2/jitter/vm_mngr_py.c
index 18f2fd51..881d0c42 100644
--- a/miasm2/jitter/vm_mngr_py.c
+++ b/miasm2/jitter/vm_mngr_py.c
@@ -873,90 +873,8 @@ static PyTypeObject VmMngrType = {
     VmMngr_new,                /* tp_new */
 };
 
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
 static PyObject *Vm_Mngr_Error;
 
-
-static PyMethodDef Vm_Mngr_Methods[] = {
-
-    {NULL, NULL, 0, NULL}        /* Sentinel */
-
-};
-
-/*
-PyMODINIT_FUNC
-initvm_mngr(void)
-{
-    PyObject *m;
-
-    if (PyType_Ready(&VmMngrType) < 0)
-	return;
-
-    m = Py_InitModule("vm_mngr", Vm_Mngr_Methods);
-    if (m == NULL)
-	    return;
-
-    Vm_Mngr_Error = PyErr_NewException("vm_mngr_.error", NULL, NULL);
-    Py_INCREF(Vm_Mngr_Error);
-    PyModule_AddObject(m, "error", Vm_Mngr_Error);
-
-    Py_INCREF(&VmMngrType);
-    PyModule_AddObject(m, "VmMngr", (PyObject *)&VmMngrType);
-
-}
-*/
-
 /*
   return
   0 on success
@@ -974,4 +892,5 @@ int init_vm_mngr(PyObject* m)
     Py_INCREF(&VmMngrType);
     PyModule_AddObject(m, "VmMngr", (PyObject *)&VmMngrType);
 
+    return 0;
 }