diff options
author | Andreas Schneider <mail@cynapses.org> | 2009-04-07 13:48:34 +0000 |
---|---|---|
committer | Andreas Schneider <mail@cynapses.org> | 2009-04-07 13:48:34 +0000 |
commit | fe2bc30984af5487c1871f80c31d2911ec70bc89 (patch) | |
tree | 02245a17171718fa0f6798ce072178fd08cc88e1 /libssh/base64.c | |
parent | d1fefb4de36d8a5a95052b6f933cdb3403ee2306 (diff) | |
download | libssh-fe2bc30984af5487c1871f80c31d2911ec70bc89.tar.gz libssh-fe2bc30984af5487c1871f80c31d2911ec70bc89.tar.xz libssh-fe2bc30984af5487c1871f80c31d2911ec70bc89.zip |
Fix a memory leak in realloc_buffer.
If realloc fails, the original block is left untouched. So
don't overwrite it that we can free it.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@411 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'libssh/base64.c')
0 files changed, 0 insertions, 0 deletions