aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/fileupload.c
diff options
context:
space:
mode:
authorMichael Kaufmann <mail@michael-kaufmann.ch>2018-10-10 22:38:50 +0200
committerMichael Kaufmann <mail@michael-kaufmann.ch>2018-10-25 12:54:55 +0200
commitd48e6b7f9558ae2a21c74f9054221af8f5c6b607 (patch)
tree45a967b90c02717f45709864f37aa43d3d76897e /docs/examples/fileupload.c
parent4f2541f975c97338ef421ecfeb295d9f3894c1d8 (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 'docs/examples/fileupload.c')
0 files changed, 0 insertions, 0 deletions