Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ Changelog for older versions can be found in our [release page](https://github.c

### Fixed
- Use abstract namespace on linux #3525
- Fix spurious munmaps in ZTS mode #3590

### Internal
- Improvements for appsec libxml2 usage #3564
Expand Down
10 changes: 6 additions & 4 deletions appsec/src/extension/helper_process.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,17 @@ void dd_helper_startup(void)
#endif
}

void dd_helper_shutdown(void) {}
void dd_helper_shutdown(void)
{
if (_shared_state) {
munmap(_shared_state, sizeof(dd_helper_shared_state));
}
}

void dd_helper_gshutdown(void)
{
pefree(_mgr.socket_path, 1);
pefree(_mgr.lock_path, 1);
if (_shared_state) {
munmap(_shared_state, sizeof(dd_helper_shared_state));
}
}

void dd_helper_rshutdown(void)
Expand Down
Loading