Skip to content

Commit

Permalink
Fix core dump: initialize with NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
fantix committed Aug 25, 2022
1 parent b3912c5 commit 15b7186
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions edgedb/datatypes/record_desc.c
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ EdgeRecordDesc_New(PyObject *names, PyObject *flags, PyObject *cards)

o->size = size;
o->idpos = idpos;
o->get_dataclass_fields_func = NULL;

PyObject_GC_Track(o);
return (PyObject *)o;
Expand Down

0 comments on commit 15b7186

Please sign in to comment.