# debug: expose module debug info deinitialization · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/9c05810be60756e07bd7fee09633671bbaa8cda6)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 9c05810be60756e07bd7fee09633671bbaa8cda6

Requested commit: 9c05810be60756e07bd7fee09633671bbaa8cda6

Commit: 9c05810be60756e07bd7fee09633671bbaa8cda6

Tree: 5cb47bace64690c2f738057037361e22441a1017

Author: David Gonzalez Martin

Committer: Jakub Konka

## Message

```
debug: expose module debug info deinitialization

Before this commit, you could use readElfDebugInfo independently with
one catch: the data is not freed since the deinitialization functions
for ModuleDebugInfo are private. This change makes them public so the
    users of such function and similar can free the memory after the
    debug symbols have been used.

```

## Parents

- [516eb33442bb6711ec62bf66c941696de9dca5b5](https://git.cafe/gitcafe/zig/commit/516eb33442bb6711ec62bf66c941696de9dca5b5?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/9c05810be60756e07bd7fee09633671bbaa8cda6?format=markdown)
