This commit is contained in:
blueloveTH 2023-05-24 19:15:30 +08:00
parent 92007dc614
commit dc58efcb3f
3 changed files with 4 additions and 7 deletions

View File

@ -24,7 +24,7 @@ extern "C" {
#include <stdbool.h>
#include <stdint.h>
#include "export.h"
typedef struct pkpy_vm_handle pkpy_vm;
@ -721,5 +721,3 @@ bool pkpy_error(pkpy_vm* vm_handle, const char* message) {
ERRHANDLER_CLOSE
}

View File

@ -24,7 +24,7 @@ extern "C" {
#include <stdbool.h>
#include <stdint.h>
#include "export.h"
typedef struct pkpy_vm_handle pkpy_vm;
@ -721,5 +721,3 @@ bool pkpy_error(pkpy_vm* vm_handle, const char* message) {
ERRHANDLER_CLOSE
}

View File

@ -66,7 +66,8 @@ struct ManagedHeap{
#if DEBUG_GC_STATS
deleted[obj->type] += 1;
#endif
obj->~PyObject(), pool64.dealloc(obj);
obj->~PyObject();
pool64.dealloc(obj);
}
}