celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bjoern Petri (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CELIX-301) Memory leaks in rsa_shm
Date Fri, 20 Nov 2015 07:26:10 GMT

    [ https://issues.apache.org/jira/browse/CELIX-301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15015352#comment-15015352

Bjoern Petri commented on CELIX-301:

I applied the patch for the two leaks, thanks for your work!  I did not apply the additional
sleep in the unit test yet. This increases the test duration from 45seconds to  almost 5 minutes
and it does not seem to be necessary for the rsa_http test - I'll keep this issue open until
this is clarified. 

> Memory leaks in rsa_shm
> -----------------------
>                 Key: CELIX-301
>                 URL: https://issues.apache.org/jira/browse/CELIX-301
>             Project: Celix
>          Issue Type: Bug
>            Reporter: Gabriele Ricciardi
>         Attachments: rsa_sh_leaks.patch
> In the receive function of rsa_shm, the reply string is copied to the shm but not freed.
> The imported ipc_segment structures are never freed.
> Attached patch that fixes the memory leaks (and also a unit test for rsa_shm)

This message was sent by Atlassian JIRA

View raw message