fix: initnity recursion call on macro expansion
This commit is contained in:
@@ -273,7 +273,7 @@ pst_dwarf_stack* pst_dwarf_stack_new(pst_context* ctx)
|
|||||||
{
|
{
|
||||||
pst_assert(ctx);
|
pst_assert(ctx);
|
||||||
|
|
||||||
pst_new(pst_dwarf_stack, ns, ctx);
|
pst_dwarf_stack *ns = pst_alloc(pst_dwarf_stack);
|
||||||
if(ns) {
|
if(ns) {
|
||||||
pst_dwarf_stack_init(ns, ctx);
|
pst_dwarf_stack_init(ns, ctx);
|
||||||
ns->allocated = true;
|
ns->allocated = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user