diff options
author | Michael Kaufmann <mail@michael-kaufmann.ch> | 2018-10-10 22:38:50 +0200 |
---|---|---|
committer | Michael Kaufmann <mail@michael-kaufmann.ch> | 2018-10-25 12:54:55 +0200 |
commit | d48e6b7f9558ae2a21c74f9054221af8f5c6b607 (patch) | |
tree | 45a967b90c02717f45709864f37aa43d3d76897e /tests/data/test619 | |
parent | 4f2541f975c97338ef421ecfeb295d9f3894c1d8 (diff) |
netrc: free temporary strings if memory allocation fails
- Change the inout parameters after all needed memory has been
allocated. Do not change them if something goes wrong.
- Free the allocated temporary strings if strdup() fails.
Closes #3122
Diffstat (limited to 'tests/data/test619')
0 files changed, 0 insertions, 0 deletions