Skip to content

Stop formating Rvalues to get function names #729

Open
@FractalFir

Description

@FractalFir

In

let func_name = format!("{:?}", func_ptr);
, we format an Rvalue to get a function name. This leaks memory.

We also do the same in

let func_name = format!("{:?}", func_ptr);
.

This is not a big priority(we leak the name of a function each time we call it), but nontheless something I think should be fixed at some point.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions