[
https://issues.apache.org/jira/browse/GUACAMOLE-1181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17223104#comment-17223104
]
Mike Jumper edited comment on GUACAMOLE-1181 at 10/29/20, 8:44 PM:
-------------------------------------------------------------------
Automatic free behavior started in 2.0.0-rc3 (the result of [FreeRDP commit
328eba7|https://github.com/FreeRDP/FreeRDP/commit/328eba7fe95c7616e2c97afec3dd4a6eb4b86e26]
building off [FreeRDP commit
8c7fe93|https://github.com/FreeRDP/FreeRDP/commit/8c7fe93cc63ea2bbbe9b99ab4621381efab04d15]).
The releases that automatically {{Stream_Free()}} are 2.0.0-rc3 through
2.0.0-rc4.
was (Author: mike.jumper):
Automatic free behavior started in 2.0.0-rc2 ([FreeRDP commit
8c7fe93|https://github.com/FreeRDP/FreeRDP/commit/8c7fe93cc63ea2bbbe9b99ab4621381efab04d15]).
The releases that automatically {{Stream_Free()}} are 2.0.0-rc2 through
2.0.0-rc4.
> Memory allocated for outbound SVC PDUs may not be freed
> -------------------------------------------------------
>
> Key: GUACAMOLE-1181
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-1181
> Project: Guacamole
> Issue Type: Bug
> Components: RDP
> Affects Versions: 1.1.0, 1.2.0
> Reporter: Mike Jumper
> Assignee: Mike Jumper
> Priority: Minor
> Fix For: 1.3.0
>
>
> As reported on the mailing list, depending on the version of FreeRDP
> installed, the {{wStream}} allocated for transmission along a static virtual
> channel may not be freed:
> https://lists.apache.org/thread.html/r39f830253413b2143438d09533c59e193e78729ef036bf1a1356f33b%40%3Cuser.guacamole.apache.org%3E
> Possible solutions include:
> * Explicitly freeing the {{wStream}} (if the version of FreeRDP present at
> build time will not do so)
> * Leveraging the {{wStream}} pool that _will_ be automatically freed (if the
> version of FreeRDP present at build time supports this)
> Unfortunately, even after this is addressed, it may always be the case that a
> build of guacamole-server against FreeRDP 2.0.0 will suddenly start leaking
> memory if FreeRDP is updated and guacamole-server is not rebuilt, as the
> difference in behavior will only be detectable at build time.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)