diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-10-23 11:45:44 +0200 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-10-23 11:45:44 +0200 |
commit | 792def7a65b7d95c57e44900f0eb620e2cd8be83 (patch) | |
tree | 6ed2a3f1fc543adb3d276926ba58edc175eafff3 /libssh/options.c | |
parent | 840cecbe0e68bc71c0afea4b3d79bd5702d403d0 (diff) | |
download | libssh-792def7a65b7d95c57e44900f0eb620e2cd8be83.tar.gz libssh-792def7a65b7d95c57e44900f0eb620e2cd8be83.tar.xz libssh-792def7a65b7d95c57e44900f0eb620e2cd8be83.zip |
Add missing free.
Diffstat (limited to 'libssh/options.c')
-rw-r--r-- | libssh/options.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libssh/options.c b/libssh/options.c index e4b2027c..a46740c7 100644 --- a/libssh/options.c +++ b/libssh/options.c @@ -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); |