Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Returning a function argument list from a Custom function results in error #689

@drewwells

Description

@drewwells

This code for example should reproduce the error. I'm doing this in Go, but this example should also throw the same error.

union Sass_Value* CustomFunc( union Sass_Value* s_args, void* cookie ) {
    return s_args;
}

Error:

malloc: *** error for object 0x451a590: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
SIGABRT: abort
PC=0x7fff98e2c282
signal arrived during cgo execution

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions