diff options
author | Daniel Stenberg <daniel@haxx.se> | 2011-06-13 22:32:00 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2011-06-13 22:32:00 +0200 |
commit | 0aedccc18a33a7785350d8d622ef273c727690cf (patch) | |
tree | ba4b8515fb0e38faea400c30eb66d69e418bd522 /tests/data/test169 | |
parent | 85881f9f35832dbd4ef28940267f8fa30cbb867e (diff) |
curl_formget: fix FILE * leak
Properly deal with the fact that the last fread() call most probably is
a short read, and when using callbacks in fact all calls can be short
reads. No longer consider a file read done until it returns a 0 from the
read function.
Reported by: Aaron Orenstein
Bug: http://curl.haxx.se/mail/lib-2011-06/0048.html
Diffstat (limited to 'tests/data/test169')
0 files changed, 0 insertions, 0 deletions