Page MenuHomePhabricator

matick (matic)
User

Projects

User does not belong to any projects.

User Details

User Since
Jul 14 2020, 3:10 PM (27 w, 4 d)

Recent Activity

Aug 12 2020

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;
Aug 12 2020, 1:54 PM · Restricted Project

Jul 14 2020

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