Fix a memory leak in ssh_message_free().

This commit is contained in:
Andreas Schneider
2009-06-20 11:30:09 +02:00
parent 39c7e3c7dd
commit 693c041ba9

View File

@@ -783,7 +783,9 @@ void ssh_message_free(SSH_MESSAGE *msg){
SAFE_FREE(msg->channel_request.subsystem);
break;
}
ZERO_STRUCTP(msg);
SAFE_FREE(msg);
}
/**