Add missing free.

This commit is contained in:
Andreas Schneider
2009-10-23 11:45:44 +02:00
parent 840cecbe0e
commit 792def7a65

View File

@@ -751,6 +751,7 @@ int ssh_bind_options_set(ssh_bind sshbind, enum ssh_bind_options_e type,
ssh_set_error_invalid(sshbind, __FUNCTION__);
return -1;
} else {
SAFE_FREE(sshbind->dsakey);
sshbind->dsakey = strdup(value);
if (sshbind->dsakey == NULL) {
ssh_set_error_oom(sshbind);