Page MenuHomePhabricator

matick (matic)
User

Projects

User does not belong to any projects.

User Details

User Since
Tue, Jul 14, 3:10 PM (4 w, 1 d)

Recent Activity

Yesterday

matick added a comment to T238: "ssh_init" and "ssh_finalize" leaks memory.

I guess that if in function "static int _ssh_finalize(unsigned destructor)"
this:

if (!destructor) {
    ssh_mutex_unlock(&ssh_init_mutex);
}
return 0;

would be replaced with this:

if (!destructor) {
    ssh_mutex_unlock(&ssh_init_mutex);
    if (!_ssh_initialized) {
        free(ssh_init_mutex);
        ssh_init_mutex = SSH_MUTEX_STATIC_INIT;
    }
}
return 0;
Wed, Aug 12, 1:54 PM · Restricted Project

Tue, Jul 14

matick created T238: "ssh_init" and "ssh_finalize" leaks memory.
Tue, Jul 14, 3:23 PM · Restricted Project