Fixing shared app queue unmap size.

Shared app queue takes more memory than port memory.  To unmap all memory pages
correct size need to be specified for munmap() call.  Otherwise 4 Mb memory
leaked on each configured application removal.

The issue was introduced in 1d84b9e4b459.
This commit is contained in:
Max Romanov
2021-02-03 23:23:28 +03:00
parent b1685dbc76
commit 75a5dcfc4e
2 changed files with 14 additions and 1 deletions

View File

@@ -104,6 +104,13 @@ that uses WebSocket.
</para>
</change>
<change type="bugfix">
<para>
a memory leak occurring in the router process when removing or reconfiguring
an application; the bug had appeared in 1.19.0.
</para>
</change>
</changes>