HF RL Explorer

Memory leak in RzMagicLine: name and test string not freed

Memory leak in RzMagicLine: name and test string not freed: a task in LegoFlow-SWE (Harbor dataset). When the magic subsystem parses a value (via magic parse value() ), it dynamically allocates the name and test string fields of the RzMagicLine structure using malloc() . However, the dedicated…

The task

When the magic subsystem parses a value (via `magic_parse_value()`), it dynamically allocates the `name` and `test_string` fields of the `RzMagicLine` structure using `malloc()`. However, the dedicated cleanup routine `rz_magic_line_free()` does **not** free these two strings before freeing the structure itself.

Part of Lego-X/LegoFlow-SWE.